help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Global variables are not restored with load()


From: Stefan Neumann
Subject: Global variables are not restored with load()
Date: Sat, 5 Jun 2010 16:52:38 +0200


Hello,

this saves the variables to file:

global a = -1
b = -2
save 'a.dat'

When octave is restarted then

load 'a.dat'

will not restore the global variable a, only the non-global b.

I found no mention of this in the docs. Is there a way to get octave to load the global variables ?

THX
stn

reply via email to

[Prev in Thread] Current Thread [Next in Thread]