nocad.io.read_mat#
- nocad.io.read_mat(path, variable=None)[source]#
Read a MATLAB file: state-space matrices
A, B, C, Dor a network matrix.If the file holds
Ait is read as a state matrix (\(\mathbf{W}=\mathbf{A}^{\mathsf T}\)), withBandCgiving the configuration; otherwisevariable(default: the first square matrix,adj/Wpreferred) is read as an adjacency matrix. A cell arraylabelsgives the node names.