RunMat Runtime Documentation
June 10, 2026 · View on GitHub
RunMat is a high-performance runtime for MATLAB-syntax code.
This is the technical documentation for the runtime: the compiler pipeline, virtual machine, GPU and JIT tiers, session engine, plotting, analysis/simulation, and the host integration surfaces. For the MATLAB function reference and product pages, see runmat.com.
Start Here
New to RunMat? Follow these in order:
- Installation — install the CLI or download Desktop.
- Hello World — write and run your first script.
- Command Line Interface — the REPL, running scripts, and runtime flags.
- Projects — multi-file projects, packages, classes, and entrypoints.
- Language Compatibility — what MATLAB syntax and semantics are supported.
If you want to understand how the runtime works internally, start with the Compilation Pipeline and follow the cross-links from there.
Getting Started
- Installation
- Desktop
- Command Line Interface
- Projects
- Configuration
- Language Compatibility
- Hello World
Reference
Compilation Pipeline
- Compilation Pipeline
- Lexer & Parser
- High-Level IR (HIR)
- Module Composition
- Mid-Level IR (MIR)
- MIR & Static Analysis
Virtual Machine (VM)
- Virtual Machine (VM)
- Bytecode Compilation (MIR to Bytecode)
- Interpreter Dispatch & Execution Loop
- Indexing Subsystem
- Callable Resolution & Function Dispatch
GPU Acceleration & Fusion Engine
- GPU Acceleration & Fusion Engine
- Fusion Engine & Residency Management
- wgpu Backend & Accelerate Provider
JIT Compiler
Builtins
Session Engine
- Session Engine
- Execution Requests
- Workspace State
- Variable Inspection
- Snapshots & Replay
- Interaction & Streams
- Host Integration
Plotting System
WebAssembly & TypeScript
Language Server Protocol (LSP)
Memory Management
Execution
FEA on Geometry
- FEA on Geometry
- Using FEA
- Geometry
- Models
- Physics Families
- Solves, Studies, and Sweeps
- Evidence & Artifacts
- Verification & Validation
- Results & Trust
- Current Status
- Operation Reference