problem when using cd command

I define my path as:
CurrPath = 'C:\Users\chaos\Desktop\cse_587\hw6';
What is wrong with issuing these commands?:
>> cd CurrPath or >> cd('CurrPath')
Both gives this error:
Error using cd
Cannot CD to CurrPath (Name is nonexistent or not a directory).
Best Regards,

 채택된 답변

추가 답변 (1개)

카테고리

도움말 센터File Exchange에서 File Operations에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by