title: Matlab: Is there a way to get the path of the current script?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2720140/find-location-of-current-m-file-in-matlab">Find location of current m-file in Matlab</a>  </p>
  </blockquote>
  
  
  
  <p>I have a script that is not in the current directory or on the search path.  I want to get the location of the script from the script.  Is this possible in Matlab?</p>