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

13 vues (au cours des 30 derniers jours)
John Fiaschetti
John Fiaschetti le 13 Déc 2021
Modifié(e) : Divyanshu le 14 Nov 2024 à 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!

Réponses (1)

Divyanshu
Divyanshu le 14 Nov 2024 à 11:40
Modifié(e) : Divyanshu le 14 Nov 2024 à 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!

Catégories

En savoir plus sur Component-Based Modeling dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by