FreeMat v4.0 User Manual

The FreeMat v4.0 User Manual provides installation steps, language syntax, functions, operators, flow‑control and debugging instructions for the FreeMat…


FreeMat v4.0 User Manual - cover page
Brand
FreeMat
Document type
User Manual
Language
English
Pages
556
File format
PDF
File size
3.4 MB
Published
28 September, 2026
Updated
28 September, 2026
MD5 checksum
12B0B4978EC08B066CD74F731F4AF2A1

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

Versionv4.0
Release dateOctober 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.

Download PDF (3.4 MB)