Change Directory to Current File in Editor

Version 1.0.0.0 (813 octets) par Hiran
Changes the directory to the path of the current file in editor.
204 téléchargements
Mise à jour 23 avr. 2016

Afficher la licence

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.

Citation pour cette source

Hiran (2026). Change Directory to Current File in Editor (https://fr.mathworks.com/matlabcentral/fileexchange/56624-change-directory-to-current-file-in-editor), MATLAB Central File Exchange. Extrait(e) le .

Compatibilité avec les versions de MATLAB
Créé avec R2016a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Environment and Settings dans Help Center et MATLAB Answers
Remerciements

A inspiré : MCD - My change directory

Version Publié le Notes de version
1.0.0.0

Minor changes to description to make it clearer.