I notice that current itsave.m only supports "bvec, bmat, ivec, imat, vec, mat, cvec, cmat". I happened to save a data with size 1X2X100 to an itfile. There is no error report when I run itsave.m . But when I try to itload the file. it causes some problems:
Here is a test code: (I use MATLAB7.1)
ExP_M = 1/2ones(2,50);
soft1_M = 1/2ones(1,2,100);
itsave('debug.it', soft1_M, ExP_M);
After running, you can not find ExP_M. This problem bother me pretty much time.
Therefore, I suggest to add some exceptions to prevent the user to save the type that is not supported by itsave.m at the first place.