Jaroslav Hajek wrote:
> hello,
>
> I seems that while "load" has a nice feature to load saved variables in a file
> into a structure, there is (AFAIK) no simple means in Octave to
> reverse this operation.
> I've checked out Matlab documentation and found out it has the -struct
> option for "save"
> to do this, which is missing from Octave. Matlab also allows a -regex
> option for regexing
> instead of globbing.
>
> If noone is working on this yet, I'd like to implement this
> functionality for Octave. I see two options:
> make stand-alone DLD functions (say, save_struct and save_regex) in
> Octave-Forge,
> or extend the built-in save command to get Matlab compatibility (that
> would involve patching about 4 files).
>
> Which one is preferable?
>
>   
Modifying the existing load/save functions would be preferable.. I
suppose the option should work for the file files

Matlab V5
Octave Binary
Octave Text
HDF5

regards
David

-- 
David Bateman                                [EMAIL PROTECTED]
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Octave-dev mailing list
Octave-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/octave-dev

Reply via email to