Effacer les filtres
Effacer les filtres

Parameter Writer block not recognizing blocks

7 vues (au cours des 30 derniers jours)
Matthew Mishrikey
Matthew Mishrikey le 4 Jan 2022
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?

Réponses (1)

Brahmadev
Brahmadev le 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!

Catégories

En savoir plus sur Event Functions dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by