Can model variants be switched while model is running (simulating)?
2 views (last 30 days)
Show older comments
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).
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Component-Based Modeling in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!