Builtin Functions Reference
RunMat's architecture is designed for rapid implementation of MATLAB-compatible functions. Our macro-based builtin system, combined with modern tooling and community contributions, enables efficient expansion of the function library toward full MATLAB compatibility.
Quick Reference
Here's a quick overview of the most commonly used functions:
pi
π constante
Euler's numberinf
Infinitynan
Not a Numberzeros(m, n)
- Create m×n matrix of zerosones(m, n)
- Create m×n matrix of oneseye(n)
- Create n×n identity matrixrand(m, n)
- Create m×n matrix of random numberssin(x), cos(x), tan(x)
asin(x), acos(x), atan(x)
exp(x), log(x), log10(x)
sqrt(x), abs(x), sign(x)
round(x), floor(x), ceil(x)
min(x), max(x), sum(x)
mean(x), std(x), var(x)
real(x), imag(x), angle(x)
plot(x, y)
- 2D line plotscatter(x, y)
- 2D scatter plotbar(x, y)
- Bar charthistogram(x)
- Histogramscatter3(x, y, z)
- 3D scatter plotMacro-Based Architecture
RunMat's runtime_builtin
macro dramatically simplifies how MATLAB functions are implemented. What traditionally requires complex registration code and manual type handling becomes a simple attribute on a Rust function, allowing us to implement new functions at a rapid pace.
Simple Implementation
Automatic Features
Compatibility Goals
Our roadmap targets full compatibility with MATLAB's core function set, with plans to extend support to major toolboxes. The modular architecture enables parallel development of different function categories, accelerating our path to comprehensive compatibility.
Core MATLAB Functions
Essential mathematical, statistical, and array manipulation functions that form the foundation of MATLAB compatibility
Signal Processing Toolbox
Advanced signal analysis, filtering, and transformation functions for engineering and scientific applications
Statistics & Machine Learning
Comprehensive statistical analysis and machine learning algorithms for data science workflows
Additional Toolboxes on the Roadmap
Community contributions welcome for any of these toolboxes. Implementation priorities will be guided by user demand and community interest.
RunMat's builtin system is designed for community contributions. Help us achieve full MATLAB compatibility by implementing missing functions and expanding toolbox support.
High-Impact Areas:
- • Signal processing functions (FFT, filters)
- • Statistical analysis (regression, distributions)
- • Linear algebra expansions (sparse matrices)
- • Image processing operations
What We Provide:
- • Clear implementation patterns
- • Automated testing framework
- • Performance benchmarking tools
- • MATLAB compatibility validation