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?

-- 
RNDr. Jaroslav Hajek
computing expert
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz

-------------------------------------------------------------------------
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