
Four-panel figure
A test run summarized with subplot and sgtitle.
RunMat runs MATLAB-language code in a browser tab, on your own computer. Write a script, run it and see the plot beside the code.

sin(3*R) to sin(8*R) and running again redraws the surface, which then turns and zooms with the mouse. Used by students, engineers and researchers around the world
Each example opens in the browser editor with its result already drawn. Change a number and run it again.

A test run summarized with subplot and sgtitle.

ode45 against the closed-form solution.

See what averaging does to the noise floor.

Natural frequencies of a spring-mass chain from eig.

Amplitude, rate and offset with bounds and 95% intervals.
MATLAB Online is MathWorks' own MATLAB in the browser. RunMat runs the same language on the computer in front of you, so there are no hours to count.
| Topic | RunMat | MATLAB Online |
|---|---|---|
| To start | Open the editor and run. No account needed. | Sign in with a MathWorks Account. Basic access is free with an account. |
| Time limits | None. Scripts run for as long as they need. | Basic: 20 hours per calendar month, 15 minutes of continuous run time and a 15-minute idle timeout. With a license: unlimited hours, 90 minutes and 60 minutes. |
| Where code runs | In the browser tab, on your own CPU and GPU. It keeps running offline once the page has loaded. | On MathWorks computers, through the browser. |
| Functions and products | 2,100+ built-in functions across math, statistics, signal processing, optimization, data and plotting. | Basic: 10 commonly used products, including Simulink. With a license: the products on that license. |
| Storage | Browser projects stay on the device. Sign in to keep cloud projects, with file history and sharing. | MATLAB Drive: 5 GB on Basic, 20 GB with a license. |
| Price | Free for:
| Basic is free. Full access comes with a MATLAB license. |
Use MATLAB Online when a course or project depends on Simulink, App Designer or a toolbox RunMat doesn't cover yet, or when your school's license already includes it and you need MathWorks support.
The full comparison with desktop MATLAB covers license cost, GPU support and simulation.
MATLAB Online facts are from MathWorks' MATLAB Online versions and MATLAB Online pages, checked November 4, 2026.
Existing .m scripts and functions run as written, with MATLAB's function names and behavior and no toolboxes to install.
if, for, while, switch, try and anonymous functionseig, svd and sparse matricesode45, ode15s, integral and fzerofft, filters, spectra and statisticsplot, scatter, histogram, surf, contour and 30 more plot typesreadtable, readmatrix, load and saveRunMat compiles each script and fuses chains of array operations, without needing code changes. As a result, your code runs on the GPU automatically where that is found to be faster. In the browser it uses WebGPU; the desktop app and the command line use NVIDIA, AMD, Intel and Apple GPUs.
Arrays stay on the GPU between steps, so a loop over a million-element array keeps its data on the device.
Monte Carlo option pricing, 256 steps · median wall time
| Paths | RunMat (GPU) | PyTorch (GPU) | NumPy (CPU) |
|---|---|---|---|
| 250,000 | 109 ms | 824 ms | 4,066 ms |
| 500,000 | 136 ms | 900 ms | 8,207 ms |
| 1,000,000 | 188 ms | 894 ms | 16,092 ms |
| 2,000,000 | 298 ms | 1,109 ms | 32,305 ms |
| 5,000,000 | 607 ms | 1,698 ms | 79,895 ms |
Apple M2 Max, run 2025-11-21. Source and harness in the RunMat repository.
Measured with the RunMat command line on the published benchmark suite, outside the browser.
Open folders on your disk, keep a command window with history, and work fully offline on macOS, Windows and Linux.
Run .m scripts from a terminal or CI, check a whole project for unsupported functions, and compile programs.
The built-in agent writes code, runs it and reads the variables and plots. Claude Code, Codex and other MCP clients can run code in RunMat too.
Save projects to the cloud, share them, and edit code and plots together live, with file history.
Yes. Open the RunMat editor in a browser tab and run MATLAB-language code with no account, no install and no MATLAB license. RunMat is free for individuals, including freelancers; students and faculty at an academic institution, for teaching or research there; contributors to an open-source project, for work on that project; organizations with 250 or fewer people and US$10M or less in annual revenue; and anyone, for non-production use. RunMat is licensed under the Business Source License 1.1, and each version converts to Apache 2.0 three years after it is first published.
No. Code runs as soon as the editor opens. Signing in adds cloud projects that sync between devices, file history, sharing and the built-in agent's weekly credits.
No. RunMat is its own runtime for the MATLAB language: it reads .m files and runs them with MATLAB's function names and behavior. RunMat is built by Dystr, Inc. and is not affiliated with or endorsed by The MathWorks, Inc.
No. RunMat counts no hours for MATLAB code and has no session or idle timeout, because the code runs on your own computer. Weekly allowances cover only AI use and finite element simulations.
Yes. Paste a script into a new file, or create files and folders in the browser project. For a whole repository, open the folder in the desktop app; the command line's runmat check lists any function or language feature RunMat doesn't support yet before you run anything.
Yes. Line, scatter, bar, histogram, contour, surface and 3D plots draw in the browser, and 3D figures can be rotated, zoomed and panned. Subplots, legends and colorbars work as in MATLAB.
RunMat has 2,100+ built-in functions covering linear algebra, differential equations, signal processing, statistics, curve fitting, optimization, data files and plotting, with no separate toolboxes to install. Simulink, App Designer apps and some specialized toolbox functions are not supported.
Code runs on your device, and nothing is uploaded to run a script. Files you save to a cloud project are stored on RunMat's servers. When you use the built-in agent, the files and results it needs are sent to the AI model provider.
Yes. In browsers with WebGPU, RunMat moves large array operations to the GPU automatically. The desktop app and the command line use NVIDIA, AMD, Intel and Apple GPUs, with no code changes.
Yes. Once the editor has loaded, MATLAB code keeps running without a connection. The desktop app and the command line run fully offline, with projects on your own disk.
Both run MATLAB-style code. RunMat compiles it, runs in the browser as well as on the desktop, and moves array math to the GPU. Octave is a long-established desktop program with its own packages.