Discussion:
save variables
(too old to reply)
cor
2009-01-31 16:35:00 UTC
Permalink
Hallo,

I'm running Octave under Windows XP and I want to save some
A=[1;2;3];
safe /myfile.dat ;
as in the help files is told to do. But I get the error message:
error: octave_base_value::save_ascii(): wrong type argument 'swig_ref'
First opening the file with > fopen("/myfile.dat","w"); makes no difference.
Help appreciated,

Cor
cor
2009-02-01 11:17:55 UTC
Permalink
[....]
I'm running Octave under Windows XP and...
[....]
Forgot to mention Octave 3.0.3

Cor
david bateman
2009-02-01 23:15:35 UTC
Permalink
Post by cor
[....]
I'm running Octave under Windows XP and...
[....]
Forgot to mention Octave 3.0.3
Cor
Try uninstalling the ann and database packages. Unfortunately the SWIG/
Octave wrapper on which these rely create some variables that are
saved with the above and don't support saving at the moment. Either
that or save particular variables rather than everything..

D.
cor
2009-02-02 17:03:01 UTC
Permalink
Post by cor
[....]
I'm running Octave under Windows XP and...
[....]
Forgot to mention Octave 3.0.3
Cor
Try uninstalling the ann and database packages. Unfortunately the SWIG/
Octave wrapper on which these rely create some variables that are
saved with the above and don't support saving at the moment. Either
that or save particular variables rather than everything..

D.

Your last advice works well for me.
Thanks a lot.

Cor

Continue reading on narkive:
Loading...