MAT Matrix File Format - Maple Programming Help

Home : Support : Online Help : Programming : Input and Output : File Formats : Formats/MAT

MAT Matrix File Format

MAT file format

Description

 • MAT is a Matrix file format which is the built-in format for numerical matrix data used by MATLAB®.
 • This is a binary format, and supports both dense and sparse storage.
 • The ImportMatrix command can read MAT files created in MATLAB® version 5 and later.
 • The ExportMatrix command can write to this format.
 • The general-purpose commands Import and Export also support this format.

Examples

Import a MATLAB® v5.0 data file.

 > $A≔\mathrm{Import}\left("example/dataLE.mat",\mathrm{base}=\mathrm{datadir}\right)$