Menu

no access to sparse matrices in v4 mat-files

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

    schlumpfuffzn - 2012-12-11

    If I execute the following code in MATLAB
    x = 1:5; sx = sparse(x); save sx.mat sx -v4;
    the dimensions are 6 by 3 and not 1 by 5 as expected. Also sparse->data is 0.
    For other versions -v6, -v7 and -v7.3 this works fine.

     
  • cch

    cch - 2012-12-11

    I don't have support for sparse matrices in v4. Given how old it is I don't intend on implementing this. If you want to put together a patch I will commit it.

     

Log in to post a comment.