error with CD command

5 views (last 30 days)
Error using cd Cannot CD to C:\Users\gnani\AppData\Local\Temp (Name is nonexistent or not a directory).
Error in tempdir (line 31) curr_dir = cd(tmp_dir);
Error in publish (line 128) imageDir = tempdir;
Error in mdbpublish (line 56) outputPath = publish(file, options);
Error using open (line 69) NAME must contain a single string.
  3 Comments
Walter Roberson
Walter Roberson on 1 Sep 2013
Are there any spaces in the username or the name of the file?

Sign in to comment.

Accepted Answer

Gnaneswar Nadh satapathi
Gnaneswar Nadh satapathi on 6 Nov 2013
temp file in the C DIRECTORY of the path must be given full access control by right clicking the folder. and going to security and give full access
  1 Comment
YU Xinbo
YU Xinbo on 14 May 2015
Or run the code in Administrator mode

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!