Assemble Large-Scale Model Components
In the simulation integration workflow, after you create your components by integrating them into Simulink®, the next step is to assemble them into a system-level model and compile your model before simulation. To compile your model, update the Simulink diagram. For more information on compiling a Simulink model, see Simulation Phases in Dynamic Systems.
When you compile your model, Simulink uses the design and architectural data to evaluate block parameters, signal characteristics, and model interface characteristics. Model compilation also performs propagation of signal and data-types. Manage design and architectural data using workspaces and data dictionaries according to the requirements of your system-level model. Use interfaces to simplify the visual complexity and to organize your system-level model.
Improve the compilation performance of a large-scale model with model reference hierarchies by conditionally rebuilding the model only when there are changes in its dependencies, by using parallel builds, and by partitioning your model for incremental compilation.
Topics
Design Data Management
- 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. - Manage Subsystem Reference Data Using External Data Sources
Use Simulink data dictionary and MAT files for managing subsystem reference data. - Migrate Models to Use Simulink Data Dictionary
Store variables and objects in data dictionaries.
Interfaces
- 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.
Improve Compilation Performance
- 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.