Change Directory to Current File in Editor

Versione 1.0.0.0 (813 Byte) da Hiran
Changes the directory to the path of the current file in editor.
198 download
Aggiornato 23 apr 2016

Visualizza la licenza

When you are working on a .m file which you do not necessarily like to have added to your MatLab's path, it is a nuisance to have to browse to the current directory every time you re-open MatLab. Granted you can easily do this by just running the m file, but sometimes you just want to browse to the directory, not to run the script. Well, scl can do this for you. Just setup scl once (as described in the comment inside), and run the command 'scl' in your command line while a desired script is open and active in editor already.

Cita come

Hiran (2024). Change Directory to Current File in Editor (https://www.mathworks.com/matlabcentral/fileexchange/56624-change-directory-to-current-file-in-editor), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2016a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Environment and Settings in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: MCD - My change directory

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0

Minor changes to description to make it clearer.