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.
When creating a Simulink library, how to flag a subsystem as a block and not a sublibrary?
736 views Asked by Paul Wintz At
2
I've found that the following process causes the subsystem not to be shown as a sublibrary in the Library Browser.
This doesn't seem like "correct" behavior, but it solves my problem.