help-octave
[Top][All Lists]
Advanced

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

Re: Is it possible to save structs?


From: Mark Esplin
Subject: Re: Is it possible to save structs?
Date: Wed, 5 Dec 2001 11:06:04 -0500

        You can save and load structs using the Matlab binary format.  That is 
use:

save -mat-binary "test" a

                             -Mark Esplin

On Wednesday 05 December 2001 07:26 am, Roberto Hernandez wrote:
> Hey everyone,
>
> When trying to save structures I get the following message:
>
> -----------------------------------
> octave:3> a
> a =
> {
>    b = 1
>    c = 2
> }
> octave:4> save "Test" a
> warning: save: wrong type argument `struct'
>
> warning: near line 4, column 1:
>  >>> save ("Test", "a")
>
> -----------------------------------

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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