mdlrefdemos.mdl | Open this Model |
Model Reference Demonstrations
Model Reference is a new Simulink/Real-Time Workshop feature that allows a user to create models that contain other models (referenced models). Unlike subsystems, the referenced models can be used multiple times in multiple models. As a result, Simulink models can be built from reusable modular components.
In these demos, code generation for standalone applications requires Real-Time Workshop. During these demonstrations, Simulink and Real-Time Workshop generate code in Simulink project directories created in the the current working directory. If you do not want to (or if you cannot) generate files in this directory, you should change your working directory.
The following demonstrations show different aspects of this new feature.
|
|
||||
|
|
||||
|
Basic: Introduces the basic concepts and usage of Model Reference.
Parameter Arguments: Shows how to pass different parameter values for multiple instances of a referenced model.
Bus Signals: Demonstrates how to use buses with referenced models.
Converting Existing Models: Demonstrates how to convert existing models to using model reference.
Finding and Viewing Referenced Models: Demonstrates how to find all referenced models and display model reference dependency graph.