On 22-Apr-2009, Robert T. Short wrote:
| Second way. This is probably the more sensible way, and is almost
| certainly the way MATLAB does it.
|
| When I read an object out of the .mat file, I need to force the
| constructor m-file for that object to be parsed and executed so that I
| have the struct built and ready, although what I really get is the
| parent list. I then replace the individual elements that I read out of
| the file into the object's struct. There has to be some checking to
| make sure that the struct is valid, etc., but that, I think, is pretty
| straightforward.
|
| I think this works, yes? I have no idea how to cause the constructor to
| be parsed and executed, but I am sure I can figure this out.
Are constructors required to be callable with no arguments? If not,
then how can you know what arguments to pass so that the call to the
constructor is valid?
jwe