DADiSP Worksheet Functions > Function Categories > Data Input/Output Functions > READMAT

 

READMAT

Purpose:

Reads a Matlab .mat file.

Syntax:

READMAT("filename")

"filename"

-

A string, the name of the MAT file.

Returns:

A series or array.

Example:

readmat("mymat.mat")

 

reads the matrix file "mymat.mat" and creates global array variables with the same names as each of the stored matrices.

Remarks:

If the matrix is an image, the image is displayed using the saved colormap, if any.

 

See MATLAB to execute any Matlab function via ActiveX.

 

READMAT is compatible with .MAT 4.0 files and lower.

 

See DADiSP/MAT File to load later versions of MAT files.

See Also:

FREADB

MATLAB

DADiSP/MAT File

READA

READB

READTABLE