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

조회 수: 12 (최근 30일)
John Fiaschetti
John Fiaschetti 2021년 12월 13일
편집: Divyanshu 2024년 11월 14일 11:41
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일 11:40
편집: Divyanshu 2024년 11월 14일 11:41
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!

카테고리

Help CenterFile Exchange에서 Component-Based Modeling에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by