In a Simulink library, how to flag a subsystem as a block and not a sublibrary?
7 views (last 30 days)
Show older comments
Paul Wintz on 26 Apr 2022
Edited: Paul Wintz on 27 Apr 2022
I am developing a Simulink library that includes several custom subsystem blocks. When I open the library in the Simulink Library Browser, then each subsystem is displayed as a sublibrary. As a concrete example, see the screenshot below. The Hybrid Equations Toolbox has a sublibrary called "Cyber Pysical Systems" and, within, are several subsystems "ADC", "FSM", etc. I want these to be displayed only as blocks within "Cyber Physical Systems" and not as sublibraries themselves. Users shouldn't, for example, see the "flow map f" block in the Library Browser (nor any of the other blocks inside "ADC"). How do I do this? We need the solution to be compatible from R2014b onwards.
More Answers (0)
Find more on Subsystems 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!