Update Parameter On a Mask During Execution
显示 更早的评论
Hi,
I'm wondering if its possible to update a parameter on a mask during execution from within the model itself. I understand that externally I can set_param('blockPath',Value,XX). This isn't what I want to do, I want the simulink model to update a parameter and have that updated value read by the model. Data Store blocks seem like they work mostly, but they do not work for masks. If for instance I have a parameter P, which is defined in the data dictionary, I can update that parameter P using a data memory write/read how can I get my masked subsystem to fetch that newly updated value?
Limitations appear to be that subsystem mask parameters are only read at model initialization. Is this true?
Thanks,
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


