[Simulink] How can I specify to start a matlab embedded function's execution only when receiving a specific signal ?

2 vues (au cours des 30 derniers jours)
I am using several matlab embedded functions in my simulink model.
When executing, I need some of my functions to start producing their outputs only after receiving a specific signal. How can I program this?
Thank you in advance for your answer.

Réponse acceptée

Jonas
Jonas le 12 Avr 2021
Put the MATLAB Function inside an Enabled Subsystem.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Produits


Version

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by