How to load file .dat with true variable name
I have data in dat extention with file name is 1.dat
here that are
I want to load in scilab. but when i tap
KL = loadmatfile('1.dat')
Warning: obsolete use of '=' instead of '=='.
1 = resume(mat)
in execstr instruction called by :
at line 126 of function loadmatfile called by :
%KL = loadmatfile('1.dat')
Warning: stack problem..., cleared.
but in variable browser any data like 1.dat but the variable name is %val, not KL.
How to fix that ?
Hi Dafri, loadmatfile command is to load a Matlab V6 MAT-file which is different from the format of your document. In your case you can use "KL=fscanfMat('1.dat')" Regards, Georgey