The FreeMat v4.0 User Manual provides installation steps, language syntax, functions, operators, flow‑control and debugging instructions for the FreeMat…
About this manual
This manual covers everything needed to get started with FreeMat version 4.0, including installation on Linux, Windows and macOS, variable and array definitions, built‑in functions, mathematical operators, flow‑control statements, and a full reference of the FreeMat function library. Each topic is presented with usage syntax and examples.
Later chapters describe the external interface, showing how to import foreign C functions, load shared libraries, and use the import and loadlib commands to extend FreeMat with custom code.
What's inside
- Introduction and Getting Started
- Variables and Arrays
- Functions and Scripts
- Mathematical Operators
- Flow Control
- FreeMat Functions
- Debugging FreeMat Code
- Sparse Matrix Support
- Mathematical Functions
- External Interface
Specifications
| Version | v4.0 |
|---|
| Release date | October 4, 2009 |
Frequently asked questions
How do I install FreeMat on Windows?
See section 1.1.3 which provides Windows installation instructions.
How can I call a function from a shared C library in FreeMat?
Use the import function, which lets you call compiled C functions as if they were FreeMat functions.
What command loads a library function directly without using import?
Use the loadlib function, which adds a library function to FreeMat dynamically.