error cmd "cd" not working

3 次查看(过去 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 CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by