Models with Multiple Instances of the Referenced Model
Sometimes, tuning can proceed when the referenced model appears multiple times in an
open model. If the following conditions are met, you can tune the PID controller block,
using the referenced model as the top-level model:
- The only open models that contain the model reference have multiple instances of it,
and - At least one of these instances is in normal mode.
When this condition occurs, the software issues a warning. In this case, because the tuner
can only tune with respect to the referenced model, you cannot specify a top-level model.
Referenced Model in Accelerated or Other Simulation Modes
If there is no normal mode instance of the referenced model in any open model, tuning
cannot proceed. In this case, the software issues an error. To tune the PID controller
block, convert some instance of the referenced model in an open model to normal
simulation mode.
See Also
More About
- “Model Reference Basics” (Simulink)
- “Choosing a Simulation Mode” (Simulink)
- “Introduction to Model-Based PID Tuning in Simulink” on page 7-3
See Also