BUG DESCRIPTION:
----------------
In scilab 6.0.0, an hypermatrix read from an hdf5 file does not have the right shape, dimensions being in reverse order.
It was not a problem with the 5x version of scilab.
See test case below.
ERROR LOG:
----------
None, data is not reproduced accurately
HOW TO REPRODUCE THE BUG:
-------------------------
//test hypermatrix to save to / reload from hdf5 file
var(:,:,1)=[111,112,113;121,122,123];
var(:,:,2)=[211,212,213;221,222,223];
var(:,:,3)=[311,312,313;321,322,323];
var(:,:,4)=[411,412,413;421,422,423];
h5=h5open('var.h5','w');
h5write(h5, 'var', var);
h5close(h5);
h5=h5open('var.h5','r');
newvar=h5.root.var.data;
h5close(h5);
disp('var')
disp(var)//that's our original hypermatrix
disp('newvar')
disp(newvar)//nope, it is nothing like var
disp('newvar, reshaped')
disp(matrix(newvar, size(var)))//like var at last
OTHER INFORMATION:
------------------