Why is Simulink throwing "duplicate file" warnings when opening any model?
Show older comments
Hello all,
I am getting some warnings when opening Simulink in my fresh Matlab R2025b installation. I am not sure if these should worry me, especially since it's on a new installation. Whether it's opening a blank or existing model, I get a bunch of warnings (about 30). Most of them are about duplicate naming, only the very first one is different:
>> open_system(h)
Warning: An error occurred while evaluating the rtwTargetInfo file "C:\Program Files\MATLAB\R2025b\Toolbox\soc\hardwareboards\alterasoc\rtwTargetInfo.m": Index exceeds array bounds.
> In coder.targetreg.internal/TargetRegistry/registerTargetInfosOnPath
In coder.targetreg.internal.TargetRegistry.initialize
In coder.targetreg.internal.TargetRegistry.getWithoutDataLoad
In RTW.TargetRegistry.getInstance
In registerTargetInfo (line 14)
In customizationSimulinkCoderCore (line 16)
In slCustomizer/refresh
In slCustomizer.callRefresh
In slCustomizer>@()slCustomizer.callRefresh()
In slCustomizer.staticRefresh
In simulinkrc (line 35)
In Simulink.start_simulink
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: The toolset already has a feature named ModelAdvisorSupportsLibrary.
> In simulink.toolstrip.internal.loadConfig
In simulink.toolstrip.internal.refreshConfig
In sltemplate.internal.request.createSimulinkModel
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: The toolset already has a feature named InterfaceEditor.
...
After that, there are a more warnings about "The toolset already has a feature..." with the same structure. Thats followed by a list of warnings of the type:
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 sltemplate.internal.request.createSimulinkModel
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
Warning: Attempt to include duplicate file C:\Program Files\MATLAB\R2025b\Toolbox\simulink\ui\studio\config\m\+SLStudio\NewMenu.xml into Toolset .
...
Can anyone help me out with interpreting if these warnings should be adressed (and if so, how)?
I would like to avoid a reinstall as that would take ~1 day on my internet connection.
Thanks!
Answers (0)
Categories
Find more on Simulink Environment Customization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!