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:

回答 (1 件)

AbhimanyuSingh
AbhimanyuSingh 2017 年 8 月 10 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeComponent-Based Modeling についてさらに検索

製品

質問済み:

2017 年 8 月 4 日

回答済み:

2017 年 8 月 10 日

Community Treasure Hunt

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

Start Hunting!

Translated by