Error using cd Cannot CD to C:\Users\Product\Control\support (Name is nonexistent or not a directory).
4 ビュー (過去 30 日間)
古いコメントを表示
Hello,
When I'm trying to run my .m file, I'm getting this error,
Error using cd Cannot CD to C:\Users\Product\Control\support (Name is nonexistent or not a directory).
I think, the directory path is right but still getting error.
Any solution?
0 件のコメント
回答 (2 件)
Steven Lord
2023 年 7 月 18 日
I think, the directory path is right but still getting error.
I would double check that the directory to which you're trying to cd does exist. Use Windows Explorer to try to navigate to that directory; I suspect you'll find that either it doesn't exist or perhaps that you don't have permissions to access it.
0 件のコメント
Mrutyunjaya Hiremath
2023 年 7 月 18 日
if path is correct "C:\Users\Product\Control\support", then it works
cd 'C:\Users\Product\Control\support'
参考
カテゴリ
Help Center および File Exchange で Search Path についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!