error cmd "cd" not working

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 Comments

"Name is nonexistent or not a directory" Is matlab mistaken?
Directory is there. In 2017a, this all works fine with the same direction and files. Something is different about 2017b.
I guess, Walter spotted the problem in his answer.

Sign in to comment.

Answers (2)

Zhuo Chen
Zhuo Chen on 9 Nov 2017

2 votes

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 on 5 Nov 2017
Edited: per isakson on 5 Nov 2017

1 Comment

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.

Sign in to comment.

Categories

Products

Asked:

on 5 Nov 2017

Answered:

on 9 Nov 2017

Community Treasure Hunt

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

Start Hunting!