How do I add custom libraries as a tree structure without spilling its contents and how do I add description to the library block to be displayed in the library browser in Simulink 6.5 (R2006b)?
Ältere Kommentare anzeigen
I want to add custom libraries as a tree structure but the last level sublibrary spills out all its contents and lists as library blocks in the library browser.
I did the following:
1) I have placed optimal1.mdl library and its associated slblocks.m file, attached in the same folder and the folder is in MATLAB path.
2) I closed MATLAB and reopened it. Browsed to the directory which has optimal1.mdl library and slblocks.m.
3) I then opened Simulink library browser. Optimal1 library was listed in the browser.
4) I expanded 'Optimal', then 'Inertial',then 'Motion Detection'. I observed that all the component elements for the 'Gain Computations LTN101 requirements' in the Library got listed. But when I right clicked on 'Gain Computations LTN101 Requirements' in the Simulink library browser and selected 'open Gain Computations LTN101 Requirements Library', all the elements were connected as it should be.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Modeling 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!