Fix common problems
Find the part of Desktop that fails below: starting the app, opening a project, running code, showing results, running tests or syncing cloud files.
Before you change anything
- Select the run or file that shows the problem.
- Read the first error, then open the file and line it names.
- Check the project name at the top of the sidebar and the Run on choice in the Run menu.
- Reproduce the problem with the smallest file or command you can.
- Copy the error before you clear data or reset a setting.
A support request needs the RunMat version (Settings › Help), your operating system, the project type (local folder, cloud project or sandbox), where it ran, the steps to reproduce it and the first error in full. Settings › Help has Contact support and Report a bug.
The app doesn't start
Quit and reopen RunMat, and note the stage the loading screen shows when it stops. If an update repeats or fails, note the installed version from Settings › Help, then check the system clock, free disk space and network access.
A local folder doesn't open
Select the project name at the top of the sidebar, then Open Folder, and choose the directory again. This restores access when the folder has moved or the operating system's permission has expired.
A cloud project doesn't open or update
Check that you're signed in, in the right organization, and still a member of the project. Then reconnect to the network.
When a shared text file looks out of date, open its document status:
| Status | What to do |
|---|---|
| Syncing | Wait for the server to confirm your latest edits |
| Offline · changes on this device | Reconnect; your edits haven't reached the project yet |
| Review changes | Open the review: the file was replaced or your access changed, and your pending work is held there |
Download a recovery copy before you clear app data or replace the file. See Work offline and recover edits. For sign-in, organization and storage problems that affect everyone, see Server troubleshooting.
Code doesn't run
Type a simple expression at the >> prompt in the Command Window:
>> 1 + 1If that works, run a small array operation, then your file. This tells a runtime that won't start apart from a problem in your program. If the run fails, read the first error in the runtime panel's console. See Errors and diagnostics.
A GPU run fails
Turn off Use the GPU in Settings › Runtime and run the same file. If it works on the CPU, note the GPU, the operation, the input sizes and types, and the error. Shrink the input until the problem is small enough to report.
Variables or figures are missing
Check that the run header shows the run you expect, and that the console shows no error before the assignment or plotting call. For an earlier run, check that Persist runs was on when it ran. Run the file again to recreate results that weren't saved. See Inspect plots and variables.
A notebook doesn't run
The Run button names the notebook only when it has at least one runnable cell. Check that each cell's fence is tagged runmat, not matlab. If cells give results that depend on order, run the whole notebook from the top. See Write a runnable notebook.
Run all tests does nothing
Desktop needs the test folder listed in [sources].roots in runmat.toml, with roots that don't overlap, for example roots = ["src", "tests"]. See Run tests.