Multiple Variant Reference Models in the same top model with different variants

Hi,
I want to create a top model in Simulink that has 2 sub-references, each of which is a variant reference specifying a different variant for each instance. I can't seem to get the variants for each reference independently. Is there a way to do this?
Thanks!

回答 (1 件)

Divyanshu
Divyanshu 2024 年 11 月 14 日
編集済み: Divyanshu 2024 年 11 月 14 日

0 投票

You can try using variant subsystems and instead of subsystems as choices of Variant subsystem block, you can use Model-Reference blocks as choices which may refer to different models.
Please refer the following documentation link for more details on 'Variant Subsystems':
Hope it helps!

カテゴリ

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

製品

リリース

R2020b

質問済み:

2021 年 12 月 13 日

編集済み:

2024 年 11 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by