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?

1 次查看(过去 30 天)
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).

采纳的回答

Image Analyst
Image Analyst 2021-9-23
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.

更多回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2017b

Community Treasure Hunt

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

Start Hunting!

Translated by