title: Matlab openfig to existing figure
body: <p>When in Matlab I use <code>openfig(filename);</code> to open a saved figure, it always opens a new window. All the <code>'reuse'</code> argument does is not load the file when it appears to already be open. However, I wish to open the file <em>into a given figure</em>, and just overwrite its contents. Is there a way to pass a figure handle to <code>openfig</code>, or is there another function that would accomplish this?</p>
  
  <p>So in code, what I would like to do is something along the following lines:</p>
  
  <pre><code>f = figure;
  openfig(filename, 'Figure',f);
  </code></pre>
  
  <p>and then the figure would be displayed in figure <code>f</code> rather than having opened a second figure window.</p>