[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beginner, searching help
From: |
Henry F. Mollet |
Subject: |
Re: Beginner, searching help |
Date: |
Thu, 01 Feb 2007 13:42:55 -0800 |
User-agent: |
Microsoft-Entourage/11.1.0.040913 |
Example of saving structs given by Etienne works in
GNU Octave, version 2.1.71 (powerpc-apple-darwin8.1.0).
as per below.
Henry
octave:26> foo.x = 1
foo =
{
x = 1
}
octave:27> save saved_foo.txt foo
octave:28> clear foo
octave:29> foo
error: `foo' undefined near line 29 column 1
octave:29> load saved_foo.txt
octave:30> foo
foo =
{
x = 1
}
on 2/1/07 7:55 AM, address@hidden at address@hidden wrote:
>
> Hi Steffen,
>
> saving structs is possible w/ more recent versions, e.g. the current 2.9.9:
>
> octave:113> foo.x = 1
> foo =
> {
> x = 1
> }
>
> octave:114> save saved_foo.txt foo
> octave:115> clear foo
> octave:116> load saved_foo.txt
> octave:117> foo
> foo =
> {
> x = 1
> }
>
> Hth,
>
> Etienne
>
> On Thu, February 1, 2007 1:03 am, Steffen Netz said:
>>
>> Hi,
>>
>> I've tried out octave (2.1.71) and I run into difficulties with
>> save -struct
>> With Matlab it works, with in octave not.
>>
>> Now I've searched on the website but haven't found anything.
>>
>> - Is there an searchable index of this mailinglist?
>> - Which version I should use? Stable/Testing/Development
>> on the Downloadsite
>> - Is there a change list of the versions ( on the
>> www.octave.org)?
>> - TO which version belongs the
>> http://www.gnu.org/software/octave/doc/interpreter/
>> copyright 1997 ??!
>> The site
>> http://www.gnu.org/software/octave/doc/interpreter/I_002fO-Streams.html#I_002
>> fO-Streams
>> is empty.
>> the save site states :
>> Note that Octave cannot yet save or load structure variables or any
>> user-defined types.
>> Is this true for the latest versions?
>>
>> Where is the best place to look for such common questions?
>>
>>
>> Thanks,
>>
>> Steffen
>> --
>> --------------------------------------------------------------------
>> | Fraunhofer Institut Photonische Microsysteme |
>> | |
>> | Fraunhofer Institute for Photonic Microsystems ( Germany ) |
>> | |
>> | Steffen Netz | phone : ( +49 ) (0)351/8823-212 |
>> | Maria-Reiche-Str. 2 | fax : ( +49 ) (0)351/8823-266 |
>> | 01109 Dresden | email : address@hidden |
>> --------------------------------------------------------------------
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://www.cae.wisc.edu/mailman/listinfo/help-octave
>>
>