problem loading a .sav

Hello, I just installed scilab 5.5.2 in ubuntu mate. When I try to load .sav files (generated both on siclab 5.5.2 and 6.0.1, in windows) I get the following error message:

[] = resume(%__resumeList__(:))
!--error 274
Instruction left hand side: waiting for a name.
in execstr instruction called by :
at line 981 of function %_sodload called by :

What should I do_

Thank you,

Scilab 06-08-19, 7:29 p.m. ersoule



Sometimes, scilab stores extra variables and macros in the .sav file.

You may want to first run:

[vlist, vtype] = listvarinfile('file.sav')

Check the variables in vlist. Load only those which you require (or eliminate those from the list which you don't require).

load('file.sav', 'a', 'b', 'c')

Alternatively, you can pass the list of variables explicitly to save.

save('file.sav', 'a', 'b', 'c')

09-08-19, 4:44 p.m. sunilshetye

Log-in to answer to this question.