pub fn write_mat_file( path: impl AsRef<Path>, variables: &[(String, MatValue)], compress: bool, ) -> Result<(), ErrorsJSL>
Writes a MAT-file.