Custom Simulink block library displays some referenced subsystems as individual components

17 ビュー (過去 30 日間)
Alex
Alex 2024 年 10 月 25 日
コメント済み: Alex 2024 年 11 月 8 日 12:22
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?

回答 (1 件)

Oliver Jaehrig
Oliver Jaehrig 2024 年 11 月 6 日 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.
  1 件のコメント
Alex
Alex 2024 年 11 月 8 日 12:22
Thank you very much!
The problem were unconnected ports which I overlooked, my bad.

サインインしてコメントする。

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by