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 件)

riza.bayoglu@du.edu
riza.bayoglu@du.edu 2013 年 5 月 5 日

0 投票

Thank you :))

カテゴリ

ヘルプ センター および File ExchangeFile Operations についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by