I removed a redundant "Documents" folder under the top level "Documents" folder and now I am getting the following error on start up. How can I fix this?

2 vues (au cours des 30 derniers jours)
Warning: Executing startup failed in matlabrc.
This indicates a potentially serious problem in your MATLAB setup, which should
be resolved as soon as possible. Error detected was:
MATLAB:cd:NonExistentDirectory
Cannot CD to C:\Users\022650\Documents\Documents\MATLAB (Name is nonexistent or
not a directory).

Réponse acceptée

Image Analyst
Image Analyst le 23 Sep 2021
Click on the Home tab on the tool ribbon. Click Set Path. Look for that folder in the list. If you see it, remove it.
If that doesn't solve it, then
>> edit startup.m
If the file is empty, just exit. If it's not empty, look for a call to cd to that folder. If you see it, delete that line and save the file and restart MATLAB to test the fix.
If that still doesn't work, try
>> restoredefaultpath
If that still doesn't work, call tech support for fast and free technical support. Ask for Tech Support, then Installation.

Plus de réponses (1)

James Wilson
James Wilson le 23 Sep 2021
Oops. Just realized the startup.m had a bad address in it.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by