Custom Simulink block library displays some referenced subsystems as individual components

17 views (last 30 days)
Hello, currently I am building a custom Simulink block library, where .slx files are placed via referenced subsystems to get fast access to the models in the library browser. In addition, those blocks are structured with subsystems for clairity.
Now there is the problem, that in the library browser some referenced subsystems are treated like normal subsystem. This means there is a folder named like the referenced subsystem, which contains all the components used in the model as individual components.
I am not able to find any difference between referenced subsystems which work as intended and such which are treated like folders.
In the forum I already found the following question, which seems to describe a similar problem. Unfortunately I am not able to resolve the problem with the given instructions. https://de.mathworks.com/matlabcentral/answers/101698
Has anyone had this problem before or knows a possible solution?

Answers (1)

Oliver Jaehrig
Oliver Jaehrig on 6 Nov 2024 at 10:50
Masking the block should normally resolve the issue.
If you do not want to mask the block, please check if there are any unconnected ports (Inport/Outport) in the model and see if connecting these resolves the issue.
If nothing helps, please share files to reproduce this here.
You can also contact Technical Support if needed and we can check this issue with you.

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!