title: Compile Matlab files with Load command
body: <p>I'm new to Matlab compiler. I've got a simple GUI with a button that when it's pressed it calls a m-function (myfunction.m). This function simply return a number that is then showed with a message box. If I compile as:</p>
  
  <pre><code>mcc -m myfile.m
  </code></pre>
  
  <p>everything works fine. But if I add to myfunction.m this code:</p>
  
  <pre><code>load mydata.mat
  </code></pre>
  
  <p>The compiled file doesn't work, if I click the button then the message box doesn't appear.
  How should I treat load command when I compile with matlab?</p>