toolbox functions not working

4 次查看(过去 30 天)
Lowell
Lowell 2025-3-4
回答: Steinar 2025-3-20
I have installed and re-installed Matlab 2024b and R2025a on a new desktop PC and each time I get the same error messages upon startup saying:
I've also installed the climate data toolbox and some of the functions are not operating.
I'd appreciate any help.
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\addressbar_plugins\browse_for_folder_button\matlab
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\addressbar_plugins\cd_up_one_dir_button\matlab
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\filesystem\default_filetype_plugins\folder_icon_plugin
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\filesystem\default_filetype_plugins\file_icon_plugin
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\filesystem\default_filetype_plugins\folder_label_plugin
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\filesystem\default_filetype_plugins\folder_preview_plugin
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\imagesci
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\hg
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\plottools\inspector
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graph2d
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graph3d
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\annotation
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\axis
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\chart
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\color
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\function
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\illustration
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\legacy
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\obsolete
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\printing
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\objectsystem
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\graphics\primitive
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\plottools
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\scribe
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\scribe\obsolete
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\specgraph
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\uitools\obsolete
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\testframework\mock\core\masked
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\testframework\unittest\core\masked
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\verctrl
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\project\views\core
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\project\views\labels
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\project\views\references
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\uicomponents\uicomponents\plugin\appdesigner
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\uicomponents\uicomponents\databrowser
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\uicomponents\uicomponents\uicontrol
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\updateinstaller
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\matlab\webcam
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\coder\coderapp\emlwhich\ml
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\parallel\web
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\physmod\simscape\language_editor\m
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\shared\codergui\codergui
Warning: Name is nonexistent or not a directory: C:\Program Files\MATLAB\R2025a\toolbox\shared\rptgen\udd
Prerelease License -- for engineering feedback and testing
purposes only. Not for sale.
>>

回答(2 个)

Star Strider
Star Strider 2025-3-4
Sometimes this can be due to path problems.
Running these:
restoredefaultpath
rehash toolboxcache
from a script or your Command Window may be able to fix it. (These problems can survive a re-install, so it’s worth trying that first.)
If you’re still having problems after that, Contact Support.
.

Steinar
Steinar 2025-3-20
If the command:
which -all pathdef
returns several paths, one need to delete (path or file) util one remains.
For me the requierd one was: C:\Program Files\MATLAB\R2024b\toolbox\local\pathdef.m
Then run
restoredefaultpath
rehash toolboxcache

类别

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

标签

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by