Warnings in opening Matlab to be removed
Ältere Kommentare anzeigen
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?
Antworten (3)
Fritz
am 2 Sep. 2016
1 Stimme
You may try adjusting or removing the pathes in the hidden file: ..\MATLAB\Add-Ons\.toolboxFolders
Image Analyst
am 6 Dez. 2014
0 Stimmen
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 Kommentare
Damiano
am 6 Dez. 2014
Image Analyst
am 6 Dez. 2014
Do you have a startup.m file? Did you edit that to see what's going on in there?
Damiano
am 6 Dez. 2014
Star Strider
am 6 Dez. 2014
You can also see if:
restoredefaultpath
rehash toolboxcache
sets things back to what they were.
4 Kommentare
Damiano
am 6 Dez. 2014
Star Strider
am 6 Dez. 2014
The only suggestion I have at this point is to run the path command to see if those directories are listed. If they are, and since you’re not using them, see if rmpath will remove them (and if all goes well, solve your problem).
Damiano
am 6 Dez. 2014
Star Strider
am 6 Dez. 2014
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.
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!