Change constant during simulation in Simulink
66 次查看(过去 30 天)
显示 更早的评论
I update my constants during simulation in following way: run simulation, stop, change const, run, stop and so on. But how can i do this programmatically? This is the picture what should be result.
0 个评论
回答(2 个)
Vincent Nicolazzo
2019-3-6
编辑:Vincent Nicolazzo
2019-3-6
Check out this link. It's not the best method but it worked for me. I would run my simullation and change the value of the constant in the command window.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!