![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1703196/image.png)
Why is Simulink Variant Manager unable to find the Simulink.VariantControl object that controls the active choice of Simulink.VariantVariable objects?
9 ビュー (過去 30 日間)
古いコメントを表示
I'm following through with this documentation example: Change Active Values and Activation Time of Variant Parameters - MATLAB & Simulink (mathworks.com). It uses a Simulink.VariantControl object to select the active choice for multiple Simulink.VariantVariable parameters. However, I would like to interage the selection of variant parameters by:
- Open the variant manager of this example model:
- Import control variables across model hierarchy:
- However, clicking on this button results in error prompt reporting that the Simulink.VariantControl object can't be found:
Is this a bug of Simulink?
0 件のコメント
回答 (1 件)
Pramil
2024 年 5 月 24 日
Hi Yingao,
I faced the same issue with MATLAB R2021b, updating to the next version that is MATLAB R2022a resolved the issue for me. I am currently using the MATLAB R2024a and have not faced this issue since.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1703196/image.png)
Here is a link to the documentation which you can refer for the same:
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Manage Variant Modeling Components についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!