Warnings in opening Matlab to be removed

조회 수: 3 (최근 30일)
Damiano
Damiano 2014년 12월 6일
답변: Fritz 2016년 9월 2일
I receive the following warnings in opening Matlab:
Warning: '/Users/dc/Documents/MATLAB/Toolboxes/layout' is not a valid folder. You might not be able to run installed Toolboxes.
Warning: '/Users/dc/Documents/MATLAB/Toolboxes/layoutdoc' is not a valid folder. You might not be able to run installed Toolboxes.
Warning: Error reading file: At end-of-file.
The toolbox I had installed is the GUI Layout Toolbox. It has been installed at the beginning in the wrong folders (the ones that appear in the warnings), then in a second tentative in the correct ones. The folders displayed in the warning don't exist anymore and shouldn't be searched at all, but I can't find what file calls them in the opening, so I am being not able to remove the warnings.
The GUI Layout Toolbox works perfectly, calling the files in the correct folders. The Matlab path is set to the correct folders as well, so the wrong folders are not called there.
Any advice on how to remove these warnings?

답변 (3개)

Fritz
Fritz 2016년 9월 2일
You may try adjusting or removing the pathes in the hidden file: ..\MATLAB\Add-Ons\.toolboxFolders

Image Analyst
Image Analyst 2014년 12월 6일
I'm not familiar with that toolbox - it's probably a third party toolbox so I suggest you contact the authors for why it's not getting installed properly. Otherwise you can check your startup.m file to see if something with paths is going on there. Or issue the command "restoredefaultpath" to reset the path back to factory defaults.
  댓글 수: 3
Image Analyst
Image Analyst 2014년 12월 6일
Do you have a startup.m file? Did you edit that to see what's going on in there?
Damiano
Damiano 2014년 12월 6일
there wasn't any, I added one with the command
dbstop if warning
to activate debugging in case of warning, but it is called only after the warning are produced.

댓글을 달려면 로그인하십시오.


Star Strider
Star Strider 2014년 12월 6일
You can also see if:
restoredefaultpath
rehash toolboxcache
sets things back to what they were.
  댓글 수: 4
Damiano
Damiano 2014년 12월 6일
the surprising thing is that running the path command they are not listed! That's why I think they are called from some other file I didn't identify so far..
Star Strider
Star Strider 2014년 12월 6일
Since those files aren’t on the path, something is obviously calling them or attempting to write to them. Since the Toolbox works, you may have to search the files in that directory (somehow) to see which one is creating those paths and querying them. Then comment those lines out and see if it makes any difference.
It might be easier to contact the Toolbox author to ask about them and particularly if they’re necessary.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by