error cmd "cd" not working

1 回表示 (過去 30 日間)
John Hutton
John Hutton 2017 年 11 月 5 日
回答済み: Zhuo Chen 2017 年 11 月 9 日
I upgraded to the 2017b version and none of my directories are working. Error is saying
Error using cd
Cannot CD to
C:\Users\jhutton\OneDrive\MSU_PhD\Classes\ECE8453-Wavelets\Homeworks\HWK5\Matlab
(Name is nonexistent or not a directory).
Version a is still working fine. Is this a install or config issue?
Thanks, John
  3 件のコメント
John Hutton
John Hutton 2017 年 11 月 5 日
Directory is there. In 2017a, this all works fine with the same direction and files. Something is different about 2017b.
per isakson
per isakson 2017 年 11 月 5 日
I guess, Walter spotted the problem in his answer.

サインインしてコメントする。

回答 (2 件)

Zhuo Chen
Zhuo Chen 2017 年 11 月 9 日
Hi,
I understand that you cannot cd OneDrive folder and I guess you are using Win10 Fall Creators Update.
OneDrive On Demand is a new feature in Windows 10 Fall Creators Update, it seems like one of the lower level API does not find the One Drive folders even when they are downloaded. Our developers are actively investigating this issue. The code that seems to have the problem is very low level code on which MATLAB's file-system operations are based. As such our developers are being very careful and scrupulous to not break anything else.

Walter Roberson
Walter Roberson 2017 年 11 月 5 日
編集済み: per isakson 2017 年 11 月 5 日
  1 件のコメント
John Hutton
John Hutton 2017 年 11 月 7 日
That looks like the problem. I am under onedrive. I suspect it has something to do with the spaces, but not sure.
Funny that 2017a works find while 2017b fails. I'll follow up on the other thread.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFile Operations についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by