Custom events in Simulink

3 visualizaciones (últimos 30 días)
Peter Toth
Peter Toth el 8 de Abr. de 2021
I would need to create custom events in Simulink, because the add_exec_event_listener(blk,event,listener)has a serious limitation: every possible predefined event occurs once in each step.
I would like to create my own events in Simulink, which I can send based on specific logic. (E. x. on data change)
What have been tried so far:
I did create a Matlab system block to notify the listeners on data change, but I couldn’t catch the event.
I attached my attempt.

Respuestas (0)

Categorías

Más información sobre Event Functions en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by