Why does my triggered S-Function not execute on a trigger when there is a constant input in Simulink?
Mostrar comentarios más antiguos
I have a triggered S-Function whose trigger input is coming from a Constant block. This S-Function has no output. When I run the model with the "Sample time" property of the Constant block set to "inf", the model only executes the S-Function once, regardless of how many times it is triggered. If I generate code using Real-Time Workshop, the code is incorrect as well.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Create MATLAB S-Functions en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!