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

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

 Accepted Answer

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

Products

Release

R2016a

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!