Zusammenstellung von Modellkomponenten in großem Maßstab
Im Arbeitsablauf zur Simulationsintegration ist der nächste Schritt nach Erstellung der Komponenten durch Integration in Simulink® die Zusammenstellung zu einem Modell auf Systemebene und Kompilierung des Modells vor der Simulation. Um Ihr Modell zu kompilieren, aktualisieren Sie das Simulink-Diagramm. Weitere Informationen zum Kompilieren eines Simulink-Modells finden Sie unter Simulation Phases in Dynamic Systems.
Wenn Sie Ihr Modell kompilieren, verwendet Simulink die Entwurfs- und Architekturdaten zur Evaluierung der Blockparameter, Signaleigenschaften und Modellschnittstellen-Eigenschaften. Bei der Modell-Kompilierung werden zudem Signal- und Datentypen propagiert. Verwalten Sie Entwurfs- und Architekturdaten mithilfe von Workspaces und Data Dictionaries gemäß den Anforderungen Ihres Modells auf Systemebene. Verwenden Sie Schnittstellen, um die visuelle Komplexität zu reduzieren und Ihr Modell auf Systemebene zu organisieren.
Verbessern Sie die Kompilierungsleistung eines Modells in großem Maßstab mit Modellreferenz-Hierarchien. Hierbei wird das Modell bedingungsabhängig nur neu erstellt, wenn Änderungen bei den Abhängigkeiten auftreten. Zudem können Sie parallele Builds nutzen und Ihr Modell partitionieren, um eine inkrementelle Kompilierung zu ermöglichen.
Themen
Entwurfsdatenverwaltung
- Determine Where to Store Variables and Objects for Simulink Models
Simulink data are objects and variables that you create in workspaces such as the base workspace or a data dictionary. Choose a technique to permanently store that data. - Partition Data for Model Reference Hierarchy Using Data Dictionaries
Compose a dictionary hierarchy based on a model reference hierarchy. - Attach Data Dictionary to Subsystem Reference
Use a Simulink data dictionary with child blocks and instances of your subsystem file. - Migrate Models to Use Simulink Data Dictionary
Store variables and objects in data dictionaries.
Schnittstellen
- Explore Composite Interfaces
Decide how to group signals, messages, or conserving connections based on your high-level modeling requirements. - Simplify Subsystem and Model Interfaces with Bus Element Ports
Group multiple lines into a bus at the input or output of a model component. - Simulink Messages Overview
Overview of the message-based communication for distributed architectures, code generation, and middleware modeling.
Verbessern der Kompilierungsleistung
- Reduce Update Time for Referenced Models by Using Parallel Builds
Reduce diagram update time for large model reference hierarchies by using parallel builds. - Create Partitions
Learn the concept of partitions and how to create them from a model.