If I execute the following code in MATLAB
x = 1:5; bx = mod(x,2)==0; save bx.mat bx -v7.3;
I am unable to access the data using libmatio, because the matvar->data is 0, also matvar->isLogical is 0, matvar->class_type is MAT_C_EMPTY and matvar->data_type is MAT_T_UNKNOWN. The dimensions are 1 by 5 correctly, though.
For other versions -v4, -v6 and -v7 this works fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I execute the following code in MATLAB
x = 1:5; bx = mod(x,2)==0; save bx.mat bx -v7.3;
I am unable to access the data using libmatio, because the matvar->data is 0, also matvar->isLogical is 0, matvar->class_type is MAT_C_EMPTY and matvar->data_type is MAT_T_UNKNOWN. The dimensions are 1 by 5 correctly, though.
For other versions -v4, -v6 and -v7 this works fine.
Can you add this bug to the tracker? It is definitely a bug and I will see what I can do about it.
Chris