Change Directory (cd) Overload

Overloads 'cd' to allow changing to a directory specified by a file in your MATLAB path.
4 téléchargements
Mise à jour 30 sept. 2021

Afficher la licence

Overloads built-in MATLAB function 'cd', enabling changing the directory to one in the MATLAB path by using a filename in that directory. For example, if 'awesome.m' is somewhere in your MATLAB path, this function enables a command like cd('awesome')
MATLAB will give you warnings that this function has the same name as a MATLAB builtin. Use warning('off','MATLAB:dispatcher:nameConflict'); (like in startup.m) to turn off
It would be interesting to combine this function with the features in Brendan Hannigan's Cool CD: https://www.mathworks.com/matlabcentral/fileexchange/5959-cool-cd-change-directory

Citation pour cette source

David Aronstein (2024). Change Directory (cd) Overload (https://www.mathworks.com/matlabcentral/fileexchange/100059-change-directory-cd-overload), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2021a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Remerciements

Inspiré par : Cool CD (Change Directory)

Community Treasure Hunt

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

Start Hunting!

Version Publié le Notes de version
1.0