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

4 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Jonas
Jonas il 12 Apr 2021
Put the MATLAB Function inside an Enabled Subsystem.

Più risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by