pathdef and resulting path very long
Mostrar comentarios más antiguos
Hello,
I have a fresh installation of Matlab R2025b and I noticed a number of duplicate file warnings when opening Simulink in the style of:
Warning: Attempt to include duplicate file C:\Program Files\MATLAB\R2025b\Toolbox\simulink\ui\studio\config\m\+SLStudio\FileMenu.xml into Toolset .
> In simulink.toolstrip.internal.loadConfig
In simulink.toolstrip.internal.refreshConfig
In slCustomizer/refresh
In slCustomizer.callRefresh
In slCustomizer>@()slCustomizer.callRefresh()
In slCustomizer.staticRefresh
In sl_refresh_customizations
and
Warning: The toolset already has a feature named ModelAdvisorSupportsLibrary.
> In simulink.toolstrip.internal.loadConfig
In simulink.toolstrip.internal.refreshConfig
In slCustomizer/refresh
In slCustomizer.callRefresh
In slCustomizer>@()slCustomizer.callRefresh()
In slCustomizer.staticRefresh
In sl_refresh_customizatio
I tried to find the cause of this and saw that my path.m has over 2600 entries. Is this a normal size for a path.m and could it have anything to do with the warnings I encounter? (to be fair, it is a substantial installation with a number of toolboxes)
In my pathdef.m there are as many entries so
restoredefaultpath
does not change anything.
rehash toolboxcache
has no noticable effect either.
I noticed that the path includes many subfolders, not sure if that is normal behaviour, e.g:
C:\Program Files\MATLAB\R2025b\Toolbox\soc
C:\Program Files\MATLAB\R2025b\Toolbox\soc\blocks
C:\Program Files\MATLAB\R2025b\Toolbox\soc\customhardwaretarget
C:\Program Files\MATLAB\R2025b\Toolbox\soc\customhardwaretarget\registry
C:\Program Files\MATLAB\R2025b\Toolbox\soc\hardwareboards\alterasoc
C:\Program Files\MATLAB\R2025b\Toolbox\soc\hardwareboards\alterasoc\registry
....
Thanks for any help on the matter! :)
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!