Bibliotheken und Blocksets
Verwenden Sie Bibliotheken und Blocksets, um Blöcke und ihre Hilfsdateien zu organisieren, z. B. externe Datendateien, Grafikdateien, HTML-Hilfedateien und MATLAB®-Skripte. Bibliotheken ermöglichen es Ihnen, Komponenten über Projekte hinweg zu standardisieren, wodurch Konsistenz gewährleistet und die Entwicklungszeit verkürzt wird. Wenn Sie Bibliotheksblöcke in einem Modell verwenden, dient der Bibliotheksblock als Prototyp und seine Instanz im Modell ist ein verknüpfter Block, der genauso aussieht und sich genauso verhält wie der Prototyp. Die Verwendung verknüpfter Blöcke ist besonders nützlich, wenn Sie ein einheitliches Verhalten in allen Instanzen eines Blocks wünschen, den Sie häufig in Modellen wiederverwenden.
Sie können die integrierten Bibliotheken aus dem Simulink®-Bibliotheksbrowser verwenden. Diese Bibliotheken können jedoch nicht verändert werden. Alternativ können Sie benutzerdefinierte Bibliotheken für Ihre spezifischen Anforderungen erstellen. Informationen zur Verwendung integrierter Bibliotheken finden Sie unter Block-Bibliotheken. Um Ihre eigenen Bibliotheken zu erstellen, siehe Create Custom Library.
Funktionen
libinfo | Get information about library blocks referenced by model |
Tools
LibraryBrowser | Find and add blocks to model |
Checks
Themen
Benutzerdefinierte Bibliotheken
- Create Custom Library
Create a custom library, add blocks and annotations, and configure library settings. - Hinzufügen von Bibliotheken zum Library Browser
Erstellen Sie eine Bibliothek, fügen Sie diese dem Library Browser hinzu und passen Sie die Bibliotheksreihenfolge an. - Link Data Dictionary to Custom Libraries
Share data objects with Simulink block library users using linked data dictionary. - Maintain Compatibility of Library Blocks Using Forwarding Tables
Map old and new library blocks using forwarding tables.
Bibliotheken-Verknüpfungen
- Linked Blocks
Explore linked blocks, parameterized links, and self-modifiable linked subsystems. - Display Library Links
Identify link status using the link badge. - Disable or Break Links to Library Blocks
Disable library links. - Lock Links to Blocks in a Library
Prevent unintentional modification of linked library blocks. - Restore Disabled Links
Restore library links and link inconsistency. - Restore Parameterized Links
Restore or push parameterized links. - Control Linked Blocks Programmatically
Use MATLAB commands to manage linked blocks. - Beheben nicht aufgelöster Bibliothek-Links
Behebt nicht aufgelöste Referenzen auf Library-Blöcke. - Parameterized Links and Self-Modifiable Linked Subsystems
Modify a parameter value or structure of linked Subsystem block. - Create Library Blocks Using Self-Modifiable Masks and Variant Blocks
Modify linked blocks from a library that uses self-modifiable masks and variant blocks.