Why is Matlab unable to change current folder?
조회 수: 90 (최근 30일)
이전 댓글 표시
I have just downloaded R2021b version of Matlab, but I have problems with the folders. When I run it, the initial folder is that of my User, from where I try to open the Desktop, where all my old files are saved. A message appears stating
"Error using cd
Unable to change current folder to '/Users/Cuchaira/Desktop'."
How can I solve the problem?
댓글 수: 1
Rik
2021년 11월 15일
How exactly are you trying to change the current folder? The error looks like you are using windows, and forgot C: and are using the wrong slashes.
채택된 답변
추가 답변 (1개)
Anshika Chourasia
2021년 12월 3일
Hi Chiara,
For changing the current folder “cd” command is used. Please refer the following link for more details: Change current folder - MATLAB cd (mathworks.com).
댓글 수: 1
Dyuman Joshi
2024년 3월 5일
That is what OP is already using.
I don't see how your answer adds helps OP.
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!