Go back to an earlier run
Each run keeps its figures, variables and console output. Open an earlier run to compare it with the latest one, look into a failure after you've changed the code, or pick up an analysis after reopening the project.
Open an earlier run
- Select the run header at the top of the runtime panel. It reads like
Run: November 03 at 08:00 · main.m completed. - The Runs list shows each run's time, file, run ID, status and stored size. Select a run.

The figures, the Variables table and the console switch to that run. Your live workspace doesn't change: the Command Window and the next run still use the variables you have now. Run again, or select the newest run in the list, to return to the latest results.
To remove a run you no longer need, select Delete run beside it in the list. Its stored figures and variables are deleted with it.
Keep runs after you close the project
Signed in, Persist runs in Settings › Project (named Sandbox in the sandbox) keeps each run's output, figures and variables with the project, so the Runs list survives closing and reopening it. With it off, the list holds this session's runs only.
Saving a large workspace can take a moment after the computation ends. The run is ready to reopen when its status settles.
The setting applies to later runs. Runs already recorded keep what was saved at the time.
What an earlier run can show
An earlier run restores the numeric arrays, structs and figures that were saved with it. Open file handles, network connections and other live resources can't be restored; run the code again to recreate them. A value shows as unavailable when it wasn't saved, its run was deleted, or this version of RunMat can't read it.
Compare two runs
When a result changes, work through the differences in this order:
- the file and its contents;
- inputs and settings, including Clear variables before run;
- where it ran (this computer or a cluster) and the RunMat version;
- console output and warnings;
- variables, then figures.
To show the comparison with prose, write it up in a notebook.
Run history and file history
Run history records what each run produced. File history records saved versions of files in a cloud project, in the sidebar's History view. Use file history to restore source, and run history to see what that source produced. See Work together live.
To show a result is current, run the project's entry point from a clean workspace with the source revision, runmat.toml, runmat.lock and input data you intend to share.
