Parameter Writer block not recognizing blocks
7 views (last 30 days)
Show older comments
In image below I show a sim with a slider switch that modifies the constant block on the left.
This the uses a goto/from block to update the top right display.
I also want it to update a parameter writer block, which would then update the right constant block or the right gain block.
The parameter writer however doesn't recognize any of these blocks as having parameters that can be updated.
If i understand the warning, model blocks that have masks can't be written to by parameter writer?
0 Comments
Answers (1)
Brahmadev
on 8 Nov 2023
For R2021b and earlier, Parameter Writer block does not support writing to parameters of other blocks that are tunable during simulation. You can refer to the following section in the release notes for more information:
To work around this issue, updating your MATLAB version will be useful. If you would like to change the parameter values at the start of your simulation, you can follow the following documentation:
Hope this helps in resolving your issue!
0 Comments
See Also
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!