image thumbnail

GoThere

version 1.2.0.0 (1.74 KB) by Gergely Öllös
It changes the directory to where your active m-file is located

60 Downloads

Updated 11 Mar 2015

View License

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 (2021). GoThere (https://www.mathworks.com/matlabcentral/fileexchange/49979-gothere), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!