How do I change an instance parameter in the model reference's model workspace in between simulations when the using Fast Restart mode?
显示 更早的评论
I am attempting to change an instance parameter in between simulations. I have a reference model which multiplies a sinusoid by a scalar. This scalar value is dictated by a model workspace variable named "Param". When I do not have Fast Restart mode on, I am able to change the variable value by using "setVariable" and a Simulation Input object. However, these changes do not persist when Fast Restart mode is turned on.
How can I accomplish this workflow when using Fast Restart mode?
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Model, Block, and Port Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!