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
Hi George, Thans foy you answer. You solve my problem.
Where I can learn about scilab syntax ?
like how to make table, make matrix sparse, etc.
Please look at Scilab help files. Scilab help is available on your Scilab installation and online. Apart from that, you could also watch Scilab Spoken Tutorials- http://spoken-tutorial.org/tutorial-search/?search_foss=Scilab&search_language=English