[Scilab-users] Saving all variables
Samuel Gougeon
sgougeon at free.fr
Fri Jul 17 10:55:09 CEST 2015
Hello,
Le 17/07/2015 04:25, fujimoto2005 a écrit :
> I want to save all variables in oreder to re-use them.
> I use 'save(filename)' and 'load(filename)'.
> But if I use the user defined function,
> ①scilab5.52 can save them but fail to load the file on accoutn of the
> existence of a user-defined-function name,
> ②scilab6 can load it but fail to save on accoutn of the existence of a
> user-defined-function name with the error message
> 'Undefined variable: macr2lst
>
> at line 14 of function fun2string (
> C:\PROGRA~1\SCILAB~1\modules\functions\macros\fun2string.sci line 24 )
> at line 2 of function extractMacro
> at line 1055 of function %_save (
> C:\PROGRA~1\SCILAB~1\modules\io\macros\%_save.sci line 1067 )
> in builtin save '
>
> Now I must save them by Scilab 5.52 and load it by Scilab 6.
> are there any ways to avoid this situation?
No stable nor alpha nor beta of Scilab 6 have been released yet. The
pre-alpha is very active and you might have a frequent look at the
Scilab codereview page. There were some recent works about fun2string
(removed), macr2lst, macr2tree, etc. You should try with the nightly
built YaSp.
Regards
More information about the users
mailing list