Open or create a project
A Desktop window works on one project at a time. The project decides where files are stored: a folder on your computer, cloud storage in your organization, or the browser sandbox.
| Project | Where files live | Open it with |
|---|---|---|
| Local folder | A directory on your computer | Open Folder, or New Project with Location set to Local folder. Installed app, Professional plan |
| Cloud project | Your organization on RunMat Server, with file history and live editing | New Project, or pick it from the project list |
| Sandbox | Browser storage, until you save it as a project | runmat.com/sandbox |
All three run code on this computer (or in this browser) by default. Storage and execution are separate choices: a cloud project still runs on your machine unless you pick a cluster in the Run menu. See Run code.
Open a local folder
Local folders come with the Professional plan. On Free, Open Folder and the Local folder location show the upgrade options instead.
- Select the project name at the top of the sidebar. The Open Project dialog opens.
- Select Open Folder and choose the directory.
To start a new project in a folder, select New Project, set Location to Local folder, and check the Folder path. RunMat creates the folder; the path follows the project name until you change it, and Change… picks a different place.
The file tree shows the folder's contents, and file operations stay inside it. Use Git or your usual backup for history; Desktop does not add file history to a local folder.
If the folder has moved, or the operating system has withdrawn access to it, open it again with Open Folder.
Create a cloud project
- Sign in. Cloud projects belong to an organization.
- Select the project name at the top of the sidebar, then New Project.
- Enter a project name. Location shows your organization's cloud by default. Select Create Project.
The new project opens with an empty file tree. Add files with the + button above the tree, or drag files onto it. Teammates in the organization can open it from their own project list, and you can invite others with Share project in the top bar. See Work together live.
Cloud files download when you open them. See Work offline and recover edits for what stays on this device.
Move a local folder to the cloud
When a local folder needs file history, search across the project or teammates, convert it. Signed in, open the folder and select Convert to RunMat Server project where Desktop offers it. Desktop uploads the files into a new cloud project in your organization and shows the progress by file and size. The local folder stays on your computer.
Before converting, move datasets you don't want to share, generated output and secrets out of the folder. After converting, open the cloud project and run its entry point before deleting anything locally.
Save the sandbox as a project
The sandbox at runmat.com/sandbox needs no account. Its files stay in this browser, and clearing site data or browser policy can remove them.
To keep the work, select Save as Project at the top of the sidebar and sign in when asked. Desktop creates a cloud project from the sandbox files and opens it.
Switch projects
Select the project name at the top of the sidebar. The Open Project dialog lists recent projects and your organization's projects; select one to open it. Search the list by name, or rename and delete projects you own from the same list.
Each project keeps its own files, workspace, figures and run history. If an edit has not finished syncing, Desktop asks you to resolve it before switching.
Lay out project files
Desktop reads MATLAB-style layouts: functions in their own .m files, package folders such as +controls, class folders (@Rotor), and private folders. A runmat.toml file at the project root holds settings that travel with the source:
- source roots and named entry points, which appear in the Run menu;
- package dependencies;
- MATLAB compatibility options;
- runtime options shared by Desktop, the CLI, CI and clusters.
Preferences such as the theme stay with the app, not the project. See Change settings.