Menu

no access to boolean data in v7.3 mat-files

2012-12-11
2013-05-30
  • schlumpfuffzn

    schlumpfuffzn - 2012-12-11

    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.

     
  • cch

    cch - 2012-12-11

    Can you add this bug to the tracker? It is definitely a bug and I will see what I can do about it.

    Chris

     

Log in to post a comment.