Change Directory to Current File in Editor

버전 1.0.0.0 (813 Bytes) 작성자: Hiran
Changes the directory to the path of the current file in editor.
다운로드 수: 198
업데이트 날짜: 2016/4/23

라이선스 보기

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.

인용 양식

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. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2016a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0

Minor changes to description to make it clearer.