[scilab-Users] problem with loadmatfile

Mathieu Dubois mathieu.dubois at limsi.fr
Sat Oct 24 12:28:20 CEST 2009


Hello Peter,

First of all loadmatfile works only with Matlab V6 file format. Under
Matlab there is an option to the 'save' function to specify that you
want V6 file format (see Matlab help).

Secondly do you have different values for True and False values? For
instance if you get very low values for False elements (and 7.749e-304 
is rather close to 0) and higher values for True elements (close to 1) 
you could write a conversion function...

Hope that helps,
Mathieu

Le 23/10/2009 00:48, Peter Hinow a écrit :
> Dear scilab users,
> I am trying to load data from a .mat file that was created by matlab using loadmatfile. It works fine to load integers. However, I also want to load some boolean variables that matlab stores as "0" and "1". When I load them with loadmatfile, I get values such as 7.749-304. Why is that so and what can be done?
> Thank you for your help and best regards,
>        Peter
>



More information about the users mailing list