Why do I receive an error about using the "cd" command at MATLAB startup?

4 views (last 30 days)

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 9 Sep 2016
This error indicates that MATLAB is unable to execute a "cd" command call. In most instances, this means a script or function that runs at startup is trying to change to a non-existent or inaccessible directory.
To resolve this problem, please check the TEMP environment variable. It should only be set to the user's Appdata\Local\Temp location. Any additional files or directories will cause issues.

More Answers (0)

Categories

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

Tags

No tags entered yet.

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!