Update Parameter On a Mask During Execution
Show older comments
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,
Accepted Answer
More Answers (0)
Categories
Find more on Event Functions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

