Skip to content

Simba.Data

Simba.Data.Analysis

MatFileWriter

Writes MAT-file Level 5 files (readable by MATLAB's load, Octave and scipy.io.loadmat). Only what the signal export needs is supported: uncompressed, little-endian, real double column vectors. Each variable is one miMATRIX element of class mxDOUBLE_CLASS.

Fields
MaxVariableNameLength Longest variable name MATLAB accepts (namelengthmax).
Methods
IsValidVariableName(string) True when name is a valid MATLAB variable name: a letter followed by letters, digits or underscores, at most MaxVariableNameLength characters. MATLAB keywords are not checked here: the caller that builds names avoids them (ToMatlabName(string)).
Write(Stream, IReadOnlyList, DateTime) Writes a complete .mat file to stream.