Conditionally executed functions in Simulink

Hi,
I have some blocks and functions in simulink model. One of the blocks must be executed once (if certain conditions are met), and it does not need to be executed before and after that. How can I do this?

Réponses (1)

Paul
Paul le 1 Août 2023

0 votes

A Triggered Subsystem may fit the bill.
More generally, check Conditionally Executed Subsystems for more discussion.

Catégories

En savoir plus sur Modeling dans Centre d'aide et File Exchange

Commenté :

le 3 Août 2023

Community Treasure Hunt

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

Start Hunting!

Translated by