Work together live
People with access to a cloud project can open it in Desktop or the browser and edit it at the same time. Typing shows up in each other's editors as it happens, live cursors show where each person is working, and file history keeps the versions you save. Local folders and the sandbox are single-person workspaces; move the work to a cloud project to share it.
If an administrator has turned live collaboration off on your RunMat Server, teammates see each other's changes after Save instead of as they type. Shared files and history work either way.
Invite a teammate
- Open the cloud project and select Share project in the top bar.
- Add the teammate and choose their role, or open the project's team settings.
- Send them the project link.
Share project appears when your role allows membership changes. Project access decides who can read or change the project. If someone can't open the link, check their account, active organization, invitation and project membership. See Collaboration & Teams for organization and project roles.
Edit the same file
Open a text file that a teammate has open. Your typing appears in their editor and theirs in yours, including in the same line. Each person's caret and selection show in the editor with their name, and Undo reverses only your own edits.
The people button in the top bar shows who is in the project. A badge on a file tab shows who else has that file open; select it to see names. Someone with two windows open counts once.
Live editing covers MATLAB source (.m), Markdown (.md, .markdown), simulation studies (.fea) and other text formats, including .txt, .csv, .json, .toml and YAML. Binary datasets and geometry files update when someone saves or uploads them.
Save a file version
Edits sync as you type, but the file stays Unsaved until someone selects Save or presses Cmd-S (Ctrl-S on Windows and Linux). Save records a version in file history, listed in the sidebar's History view. A teammate can keep typing while you save; their later edits leave the file unsaved again.
The document status tells you where your edits are:
| Status | Meaning |
|---|---|
| Syncing | Your latest edits are waiting for the server to confirm them |
| Offline · changes on this device | Your edits haven't reached your teammates yet |
| Review changes | An access change, a replaced file or a recovery needs your decision |
Treat an edit as shared once it has synced. Use file history to compare saved versions, and project snapshots to restore a set of files together. Restoring or replacing a file asks for review when someone has newer work, so their pending edits aren't overwritten.
See teammates in figures and 3-D views
When you and a teammate look at the same figure or 3-D view, their pointer shows as a small labeled cursor, and a click marks the spot for a moment. The cursor fades when they stop pointing. To turn the cursors off, open the people button and select Hide collaborator cursors.
A pointer appears only when both views show the same thing: the same run, frame, geometry revision and kind of view. Otherwise the teammate is listed in the people menu without a pointer. A teammate's pointer never selects data or moves your view.
Follow a teammate
Select Follow beside a teammate in the people menu to follow their view: your editor and figures move to where they are. When they're in another file, Open & follow opens it first. Select Stop to stop following. Scrolling, navigating, editing or moving your own camera also stops it; hovering doesn't.
Run and compare results
A run uses the project's files as they are when it starts, including teammates' synced edits, and runs on the computer or cluster that started it. Opening the project on another computer doesn't start a second copy. Teammates can open the run's results from the run header once it's saved with the project (Persist runs).
Each person keeps their own workspace, Command Window, camera, tab layout and selections. Edits made after a run starts don't change that run. When you compare results with a teammate, compare the runs' inputs and where they ran.
Continue after a disconnect
If the connection drops, your text edits stay on this device and sync when you reconnect. The document status shows when edits are still local. Keep the app's local data until they've synced, or download a recovery copy.
If the file was replaced or your access changed while you were offline, RunMat holds your pending work for review instead of applying it over the new version. Use Review changes, Open current version and review local edits or Local recovery when Desktop offers them. A downloaded recovery copy doesn't change the shared project.
Removing someone's access stops their further requests to the project. Copies they've already downloaded or exported stay with them.
See Work offline and recover edits for what Desktop keeps on this device. To experiment without affecting teammates, use a separate project.