storing a multiple values for single model
1 次查看(过去 30 天)
显示 更早的评论
I have a single simulink model and from that i want a value of variable assume 'x'; Now further I run the model for various cases say 4. How do i get the value of variable x for four different cases as every time i run the value will get replace according to case; i need to use those values for plot.
0 个评论
采纳的回答
Sulaymon Eshkabilov
2019-5-18
One of the possible solutions is to employ sim() and run your simulink model for 4 cases within a loop [for .. end] from MATLAB, and collect the values of x for every iteration.
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simulink Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!