RunMat
GitHub

RunMat: Free Runtime for MATLAB Code (Browser & Desktop)

Execute .m files instantly with automatic GPU acceleration. An open-source runtime compatible with standard MATLAB code. No license or installation required.

Syntax you already know.

Write in MATLAB, and RunMat runs your computation automatically across CPU and GPUs for maximum speed. No CUDA, no kernel code.

x = 0:0.001:4*pi;           % 0 to 4π in steps of 0.001
y = sin(x) .* exp(-x/10);   % regular MATLAB language math

See your results. Catch your mistakes.

Rich plotting and live diagnostics, built into the same environment as your code. No separate tools. No waiting until runtime to find errors.

Interactive 3D plotting

Explore your results as crisp, interactive 3D surfaces. Rotate, zoom in, and inspect your data from any angle.

Catch errors before you run

Hover to see matrix dimensions. Red underlines warn you about dimension mismatches before execution.

Why it's fast: GPU fusion & residency

RunMat fuses sequential operations into fewer computational steps and keeps arrays on device between steps ("residency"). That means less memory traffic and fewer GPU program launches, so your scripts finish sooner.

Real workloads, reproducible results

Benchmarked on an Apple M2 Max, 32GB. Times are wall-clock milliseconds for each configuration.

4K image pipeline: per-image mean/std, normalization, gain/bias, gamma, and MSE.

Monte Carlo: geometric Brownian motion with terminal PnL and risk stats.

Elementwise math: long chain of sin, exp, cos, and tanh operations on big 1D arrays.

Each number is the median of 3 runs. Full scripts live in the benchmarks folder.

One runtime. Every platform.

The same math engine runs in your browser, on your desktop, and from the command line — with no dependencies and no license. Comparing options? Read our MATLAB alternatives guide and why MATLAB-style syntax still matters.

Browser, desktop, or CLI
Start in RunMat instantly with zero install. Move to the desktop app for local file access. Run headless from the CLI on servers and CI pipelines. Same runtime, same results, everywhere.
📦
Any GPU. No lock-in.
Metal on Mac, Vulkan on Linux and ARM, DirectX 12 on Windows. No CUDA dependency, no vendor lock-in. Your code runs on whatever hardware your team already has.
🧱
Open source and free
Try instantly in the browser with no install, or download the CLI for local scripts. Same code runs on macOS, Windows, Linux, and headless servers. GPU portability via Metal, DirectX 12, and Vulkan—no CUDA lock-in.

Free and open source

The RunMat runtime is MIT licensed and on GitHub. The JIT, the fusion engine, the GPU planner — all open source and actively maintained.

Run MATLAB code online — no install, no license

Start running math immediately in your browser.