Add multiple libraries together as an overall library in the Simulink Browser
Ältere Kommentare anzeigen
Hi everybody,
I have programmed various Simulink libraries, which are distributed in various folders. Each library contains various subsystems. I would like to create an overall library in the Simulink Browser, where my libraries appear as sub-libaries.
For example, I programmed libA, libB and libC. These three libraries shall be added as sub-libraries in my "Project XXX" library in the slLibraryBrowser. What is the best approach to do this?
Thanks everybody and with greetings,
Lars
Antworten (1)
stozaki
am 24 Nov. 2022
2 Stimmen
The following page describes how to register sublibraries. I created a dummy sublibrary and attached it here.
2 Kommentare
Lars Lindner
am 15 Dez. 2022
Verschoben: Walter Roberson
am 6 Feb. 2026
Trent
am 6 Feb. 2026
Very helpful. The key is to create a subsystem in your master library and give this subsystem an "OpenFcn" (Found in the subsystem Property Inspector). The OpenFcn should be the name of your sub-library. I couldn't find this anywhere in the documentation, but this example shows it.
Kategorien
Mehr zu Using MATLAB Projects in Simulink finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!