how to save and restore an object into a file in matlab? <p>I have a class like this:</p> <pre><code>classdef my_class properties prop_a prop_b end methods(Static) ... function o = load() ??? end end methods function save(o) ??? end ... end end </code></pre> <p>Please help me to write save and load methods. name of methods is clear and they should save and restore an object from a text file...</p> <p>the properties are quite dynamic and have different row/col number.</p>