How to use variant susbsytems inside a referenced model?

Hi, I have a model reference which contains a variant subsystem. I passed a Simulink parameter to the model workspace and I try to use this parameter variant control logic. This does not work. What can be the problem?
Example:

Answers (1)

If your are getting "Model reference parameter mismatch." error then you have to change the diagnostic to "Underspecified initialization detection" to 'Simplified'.
For More information: https://in.mathworks.com/help/simulink/ug/simplified-initialization-mode.html

Categories

Products

Asked:

on 4 Aug 2017

Answered:

on 10 Aug 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!