

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


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')
Login to add comment