GoThere

It changes the directory to where your active m-file is located

You are now following this Submission

Any time you call "goThere", your working directory will be changed to where your actual m file is located (you have it open in your editor). If you like it, you can call it from a shortcut (button) for your convenience.
AND/OR call "goThere" from the end of "matlabrc.m" and it will change the directory to the path where your actual active mfile is located (that is, the last file edited in your MATLAB editor provided you did not close it before exit).
HINT: Run MATLAB as admin and type "edit matlabrc.m" then write to the end "goThere();".

Cite As

Gergely Öllös (2026). GoThere (https://www.mathworks.com/matlabcentral/fileexchange/49979-gothere), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Rephrased the text a little..

1.1.0.0

...

1.0.0.0