title: Is it possible to add methods on the fly to MATLAB classes?
body: <p>Writing a subclass of <code>dynamicprops</code> allows to me to add properties dynamically to an object:</p>
  
  <pre><code>addprop(obj, 'new_prop')
  </code></pre>
  
  <p>This is great, but I would also love to create <code>set / get</code> functions for these properties on the fly. Or analysis functions that work on these dynamic properties. </p>
  
  <p>My experience with Matlab has been so far, that once I create an instance of a class, adding new methods is not possible. That is very cumbersome, because my object may contain a lot of data, which I'll have to re-load every time that I want to add a new method (because I have to do <code>clear classes</code>). </p>
  
  <p>So is there a way to add methods on the fly?</p>