Can model variants be switched while model is running (simulating)?
3 views (last 30 days)
Show older comments
Kushagra on 4 Apr 2013
Is is possible to switch the model which is being referred by model referencing block with variants enabled by changing the value of variant object at run time (while model is simulating).
Ryan G on 4 Apr 2013
The best you can do is have 2 models running at the same time and use a switch to toggle the two. Unfortunately Simulink will have to process both models.
More Answers (0)
Find more on Component-Based Modeling 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!