title: Running Matlab script on startup
body: <p>I want to run a Matlab script every time Matlab opens. I cannot, however, use the startup file as our company does not allow us access to our C: drive (yes I know it's very annoying).</p>
  <p>I was reading <a href="http://uk.mathworks.com/help/matlab/matlab_env/startup-options.html" rel="nofollow noreferrer">this MathWorks page</a> which shows the below example, I am wondering if it is possible to specify a function that does not reside in the startup folder?</p>
  <blockquote>
  <p>This example runs the MATLAB results script or function after startup, where results.m is in the startup folder or on the MATLAB search path</p>
  <pre><code>   &quot;C:\Program Files\MATLAB\R2016b\bin\matlab.exe&quot; -r &quot;results&quot;
  </code></pre>
  </blockquote>