| Simulink Reference | ![]() |
Include a model as a block in another model.
Library
Description
The Model block allows you to include a model as a block in another model. The Model block displays input ports and output ports corresponding to the model's top-level input and output ports. This allows you to connect the included model to other blocks in the containing model.
During simulation, Simulink invokes an S-function called the simulation target to compute the model's outputs. If the simulation target does not exist at the beginning of a simulation or when you update the model's block diagram, Simulink generates the target from the referenced model. If the target exists, Simulink checks whether the included model has changed since the last time the target was built. If so, Simulink regenerates the target to reflect changes in the model. Simulink uses the same simulation target for all instances of an included model whether in the same model or different model. See Referencing Models for more information.
Data Type Support
Determined by the root-level inputs and outputs of the model referenced by the Model block.
Parameters and Dialog Box
Characteristics
| Direct Feedthrough |
Depends on model referenced by this block. |
| Scalar Expansion |
Depends on model referenced by this block. |
| MinMax Running Resettable | Model Info | ![]() |
© 1994-2005 The MathWorks, Inc.