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

1 view (last 30 days)
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?

Answers (1)

Vishal Neelagiri
Vishal Neelagiri on 16 Jan 2017
You might want to refer to this MATLAB Answers page for this question:
https://www.mathworks.com/matlabcentral/answers/100675
  1 Comment
Frederik Seeger
Frederik Seeger on 16 Jan 2017
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.

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!