How do I manage the Model configuration parameters when using variant with several system targets ?

2 ビュー (過去 30 日間)
My objective is to be able to generate the code of a model to several system targets.
By using variant subsystems, I'm able to select the target's specific blocks but not the model configuration parameters.
Is there a way?


Fangjun Jiang
Fangjun Jiang 2022 年 7 月 27 日
You can have multiple model configuration sets saved with the model and switch them. It can be done manully or through API.
  5 件のコメント
cedric manoury
cedric manoury 2022 年 8 月 4 日
Thanks for your reply, it confirms me 2 points : no links is available and RT2017b is too old...
I'll update soon my package, so it should solve my problem. If not I'll try this trick : put codes in blocks's callback which are managed by variant.


その他の回答 (0 件)


Find more on Manage Variant Modeling Components in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!

Translated by