RunMat
  • Pricing
RunMat
GitHub
GitHub
Sign inTry in browser
DesktopRuntimePhysicsCADAdministrationAgent

Get RunMat updates

New releases, guides and examples.

Product+
  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download
Math+
  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting
Physics+
  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA
Industries+
  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance
Learn+
  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students
Compare+
  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons
Company+
  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms

Product

  • Runtime
  • GPU
  • Parallel
  • Compile
  • Interop and MEX
  • Simulation
  • MCAD
  • ECAD
  • Enterprise
  • AI integrations
  • Pricing
  • Download

Math

  • Signal processing
  • Linear algebra
  • Statistics
  • Curve fitting
  • Differential equations
  • Control systems
  • Optimization
  • Finance
  • Data and tables
  • Plotting

Physics

  • Simulation overview
  • Structural
  • Thermal
  • Electromagnetic
  • Joule heating
  • Thermal stress
  • Acoustics
  • Fluid flow
  • Conjugate heat transfer
  • Fluid–structure
  • What is FEA

Industries

  • Aerospace
  • Automotive and transportation
  • Defense
  • Electronics and semiconductors
  • Energy
  • Industrial machinery
  • Life sciences
  • Quantitative finance

Learn

  • Guides
  • Docs
  • Function reference
  • Language reference
  • Migration guide
  • Changelog
  • MATLAB Online
  • MATLAB AI agent
  • For students

Compare

  • RunMat vs MATLAB
  • RunMat vs Ansys
  • RunMat vs SOLIDWORKS
  • RunMat vs Altium
  • RunMat vs Cadence
  • RunMat vs COMSOL
  • RunMat vs Python
  • RunMat vs Julia
  • RunMat vs Physics AI
  • RunMat vs Octave
  • Benchmarks
  • MATLAB alternatives
  • All comparisons

Company

  • About
  • Blog
  • Contact
  • Source code↗
  • License
  • Privacy
  • Terms
GitHubXLinkedIn

© Dystr, Inc. · RunMat v0.7.2, Nov 26, 2026 ·

RunMat® is a registered trademark of Dystr, Inc. MATLAB® is a registered trademark of The MathWorks, Inc. RunMat is not affiliated with, endorsed by, or sponsored by The MathWorks, Inc.

/
    • Run code
    • Inspect plots and variables
    • Write a runnable notebook
    • Go back to an earlier run
Docs>Desktop>Run and inspect

Run code

Open a .m file and select Run in the top bar. The button names the file it will run, for example Run main.m. The runtime panel shows the run's figures and variables, and a console pane in the same panel shows anything the code prints.

Selecting Run main.m runs a damped step response: the figure appears in the runtime panel with the variables t, wn, y and zeta listed below it.

Pick what to run

The ⌄ beside the Run button opens the Run menu. From top to bottom it offers:

Menu itemWhat runs
Run onWhere the next run executes. See Choose where it runs.
Run entry pointA named entry point from the project's runmat.toml, listed first when the project has any
Run fileThe open file and up to three files you ran recently
More files…A searchable list of every runnable file in the project
Run all tests, Run selected tests…The project's tests. See Run tests.
Clear variables before runStarts each run with an empty workspace, as if it began with clear
Close figures before runCloses open figures before each run, as if it began with close all

A Markdown notebook runs the same way: open it and select Run notebook.md. See Write a runnable notebook.

Choose where it runs

Run on lists This computer in the installed app, or This browser in the browser, followed by your organization's clusters. Each cluster shows its state, for example Active · 3 of 4 nodes free; a cluster that can't take the run is shown greyed out with the reason.

The choice applies to the next run. With a cluster selected, Resources… shows its workers, cores and memory, and how much simulation allowance you have left. Manage clusters… opens Settings › Clusters, where an organization admin adds and drains machines.

An entry point can be limited to one place. Its menu item then reads Runs on a cluster only or Runs on this computer only and is unavailable for the other choice.

Use the Command Window

The Command Window sits under the editor. Select its bar to open it, then type at the >> prompt and press Enter. Up and Down step through earlier commands.

Opening the Command Window and typing peak = max(y) prints peak = 1.5376, and peak appears in the Variables table.

The prompt shares the workspace your scripts use. A script's variables are there after it runs, and a variable you create at the prompt is visible to the next script unless Clear variables before run is on. Use clear to empty the workspace:

>> peak = max(y)
peak = 1.5376
>> overshoot = (peak - 1) * 100
overshoot = 53.7600

When a script asks for input with input, the request appears in the runtime panel's console; type the answer there.

Stop a run

While code runs, the Run button becomes Stop. Select it to cancel. The run stops at the next point where the runtime checks for cancellation, so output can continue for a moment before the run header reads cancelled. Figures and variables from a stopped run can be partial; run again before you rely on them.

Read an error

A failed run shows failed in the run header, and the error appears in the runtime panel's console with the file and line where it happened.

  1. Start with the first error. Later errors often follow from it.
  2. Open the file the message names and go to its line.
  3. Fix the code and run again.

The dot to the left of Run is RunMat check. It reports syntax, naming and type problems as you type, so many mistakes show before you run.

To have RunMat Agent look into each failure while you keep working, turn on Look into errors automatically in Settings › General. It uses Agent credits.

For ported MATLAB code, see MATLAB compatibility. For the error format, see Errors and diagnostics.

On this page
  • Pick what to run
  • Choose where it runs
  • Use the Command Window
  • Stop a run
  • Read an error