[scilab-Users] clear question
Adrien Vogt-Schilb
vogt at centre-cired.fr
Wed Apr 13 09:58:50 CEST 2011
Le 12/04/2011 19:46, offerp70 a écrit :
> Does any one know of a scilab equivalent to matlab "clearva except ..." .
I believe there is no one.
But you can work around using "who"
something like:
list_of_vars = who()
then remove from list_of_vars what you want to keep, and then:
for varnames = list_of_var
clear(varnames)
end
you can also use something like:
save(TMPDIR+filesep()+'foo')
clear
load(TMPDIR+filesep()+'foo', var1, var2, var3)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20110413/26bb9876/attachment.htm>
More information about the users
mailing list