octave-maintainers
[Top][All Lists]
Advanced

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

Re: saveing/loading symbol table of annymous functions


From: John W. Eaton
Subject: Re: saveing/loading symbol table of annymous functions
Date: Tue, 17 Apr 2007 18:55:13 -0400

On 18-Apr-2007, David Bateman wrote:

| I hesitate to check it in just yet, as in the process of figuring out
| how matlab saves function handles, it also saves information on the path
| to the non anonymous function handles.
| 
| However, I have a problem in that  the matlab function handle is of the form
| 
| handle -> object/class ->  string (matlabroot)
|                        ->  string (seperator)
|                      ->  string (sentinel)
|                      ->  object/class (function handle workspace)
| 
| The object is the format matlab uses to save classes and is just a
| special form of a structure when it is saved. So implementing matlab
| load/saving of function handles needs at least a partial implementation
| of matlab classes, or at least a way of treating them in mat-files. This
| issue has stopped me from looking at the other issue of saving the path
| to the non anonymous function handles in octave native formats..

OK, then let's just delay saving and loading function handles until
after 3.0.  But if it is reasonably easy, we should probably not fail
if a .mat file contains them, and we should certainly not fail when
trying to save them (I think we should just warn and skip the
variable).

jwe



reply via email to

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