Find your way around
The Desktop window has a sidebar on the left, the editor in the middle, the runtime panel for results on the right and the Command Window under the editor. The picture shows each area after running a script.

- Top bar: the Run button, the Run menu, buttons that show or hide each area, Settings and your account.
- Sidebar: the project's files, file history and search.
- Editor: the open files, with RunMat check.
- Figures: the plots from the run, in the runtime panel.
- Variables, with Trace and Log beside it.
- Command Window: type commands against the same workspace.
The RunMat Agent panel opens on the right from its button in the top bar.
Sidebar
The project name at the top opens the Open Project dialog. Below it, three buttons switch the sidebar:
- Files shows the file tree. The + button above it adds a file or folder, or brings in files from your computer (Upload in the browser, Add files in the installed app). You can also drag files onto the tree.
- History lists saved versions of files in a cloud project. See Work together live.
- Search finds text across the project.
The button beside the project name collapses the sidebar to a narrow rail. The button at the bottom of the rail opens it again.
Editor
Selecting a file opens it in a preview tab, shown in italics. Editing the file, or double-clicking it in the tree, keeps the tab open. A dot on a tab marks unsaved changes; press Cmd-S (Ctrl-S on Windows and Linux) to save.
.m files get MATLAB-aware highlighting, completion, hover help and go-to-definition. RunMat check reads the open script as you type and reports syntax, naming and type problems before you run it; its status is the dot to the left of the Run button, and selecting the dot lists the problems. Markdown files open as notebooks. Binary data files open in a read-only data viewer.
Top bar
| Control | What it does |
|---|---|
| Dot left of Run | RunMat check status for the open file |
| Run main.m | Runs the file it names: the open file, or the last file you ran |
| ⌄ next to Run | Opens the Run menu: where to run, entry points, other files, tests |
| Editor, runtime and agent buttons | Show or hide each area |
| Gear | Opens Settings |
| Your initials | Account menu: projects, organizations, usage, settings, log out |
In a cloud project the top bar also shows who else is in the project and a Share project button.
Runtime panel
The runtime panel opens on the first run. From the top:
- The run header names the run on screen, for example
Run: November 03 at 08:00 · main.m, with its status. Selecting it lists earlier runs. See Go back to an earlier run. - Figures, one tab per figure, with buttons to copy the image, reset the camera and maximize the figure.
- Variables, Trace and Log tabs. Variables lists the workspace. Trace shows the run's timed events. Log shows runtime messages.
Drag the divider between the editor and the runtime panel to change their widths. Showing, hiding or resizing a panel doesn't interrupt a run.
Command Window
The Command Window sits at the bottom of the editor. Select its bar, or the ⌃ at its right end, to open it. It has a >> prompt and shares the workspace with your scripts. To give it a full editor tab instead, turn on Command window as a tab in Settings › General. See Run code.
Keyboard shortcuts
Settings › Shortcuts lists every shortcut for this platform.
