Change Directory (cd) Overload

버전 1.0 (1.75 KB) 작성자: David Aronstein
Overloads 'cd' to allow changing to a directory specified by a file in your MATLAB path.
다운로드 수: 4
업데이트 날짜: 2021/9/30

라이선스 보기

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

인용 양식

David Aronstein (2024). Change Directory (cd) Overload (https://www.mathworks.com/matlabcentral/fileexchange/100059-change-directory-cd-overload), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2021a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
태그 태그 추가

Community Treasure Hunt

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

Start Hunting!

버전 게시됨 릴리스 정보
1.0