MATLAB Object-Oriented Programming

(Joyce) #1

end
function obj = reload(obj,S)
obj = reload@MySuper(obj,S);
obj.Z = S.PointZ;
end
end
methods (Static)
function obj = loadobj(S)
if isstruct(s)
obj = MySub;
obj = reload(obj,S);
end
end
end
end


See Also


Related Examples



  • “Modify the Save and Load Process” on page 13-16

  • “Object Save and Load”


See Also
Free download pdf