Method of a class to manipulate an object after loading it from a file.
The function loadobj
is called when the object a is loaded
using the load
function. An example of the use of saveobj
might be to add fields to an object that don’t make sense to be saved.
For example:
function b = loadobj (a) b = a; b.addmissingfield = addfield (b); endfunction
See also: saveobj, class.
Package: octave