loadmatfile fails loading single precision arrays saved in binary versions 6 or 7
Reported by Jan Skoda
BUG DESCRIPTION:
----------------
Loaded Binary MAT file (level 5), which contained variable of type (probably - not sure,
because Im not able to test it, since I did not created the matfile) "Single precission array"
(should contain sampling frequency 1000 Hz). Using function matfile_listvar I found out,
that class of vartiable is 7 and the type of variable is also 7.
After loadmatfile the variable appears in Scilab as Double and contains nonsense value (5.676E-315).,
The result is similar if I convert the variable using matfile2sci function, variable is loaded as Double
and contain similarly nonsense value.
My matfile you can download:
https://dl.dropboxusercontent.com/u/97963073/matfile_scilab_bug.mat
Edited by Samuel GOUGEON