tbeu / matio

MATLAB MAT File I/O Library
https://matio.sourceforge.io
BSD 2-Clause "Simplified" License
330 stars 97 forks source link

regression with current master about Mat_VarRead and MAT_C_OBJECT ? #134

Closed Nelson-numerical-software closed 3 years ago

Nelson-numerical-software commented 4 years ago

Previously Mat_VarRead returned an matvar_t if it is MAT_C_OBJECT and it allows to raise an warning or an error about not managed type.

On current master, it returns null for this .mat so it is impossible to detect this type https://github.com/Nelson-numerical-software/nelson/blob/master/modules/matio/tests/mat/test_object_6.1_SOL2.mat

Is it an regression or how can find type without use Mat_VarRead ?

Some tests of Nelson with current master of mation

tbeu commented 3 years ago

Thanks for reporting. Resolved by e308456.