Can I (de-)activate enabled subsystems as usual after the model has been compiled in Rapid Accelerator Mode without rebuilding?

1 回表示 (過去 30 日間)
I have a model containing several Enabled Subsystems. Each is activated and deactivated by an unique input, here, a Constant Block. Its value can be changed from the command window such that different Enabled Subsystems execute.
I want to simulate this model using Rapid Accelerator Mode. The model should compile once and then various simulations are performed, each with another set of parameters. The question now is: After the code has been built, can I still activate and deactivate my Enabled Subsystems via changing their correspondent Constant Block values without rebuilding the model? That is, does this parameter stay tunable?

回答 (1 件)

Vishal Neelagiri
Vishal Neelagiri 2017 年 1 月 16 日
You might want to refer to this MATLAB Answers page for this question:
https://www.mathworks.com/matlabcentral/answers/100675
  1 件のコメント
Frederik Seeger
Frederik Seeger 2017 年 1 月 16 日
Ok, so once I managed to set up the tuneable parameters, it should work with the enabled subsystems? I am asking because I know that it will not work with Variant Subsystems.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeVariant Hierarchical Components についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by