Skip to main content

mat4_decode

Function mat4_decode 

Source
pub fn mat4_decode(bytes: &[u8]) -> Result<Vec<(String, MatValue)>, ErrorsJSL>
Expand description

Parses a level-4 MAT-file (SciPy’s loadmat): the variables in file order, as (name, value) pairs. Numeric matrices keep their stored type, text becomes a character array, and a sparse matrix a compressed-sparse-column MatValue::Sparse.