Borrar filtros
Borrar filtros

How to detect change when a block parameter is modified?

5 visualizaciones (últimos 30 días)
Putt
Putt el 17 de Jul. de 2015
Respondida: Shivaputra Narke el 18 de Jul. de 2015
I would like to be able to constrain Simulink block parameters (any parameters displayed by get(gcbh)) to only allowable values so that when wrong values are entered, a warning will be generated. Is there a callback function that is invoked when someone changes a block parameter (such as OverrideUsingVariant)?

Respuestas (1)

Shivaputra Narke
Shivaputra Narke el 18 de Jul. de 2015
not sure, but check if you can use event listeners.

Categorías

Más información sobre Model, Block, and Port Callbacks en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by