Conditionally executed functions in Simulink

3 Ansichten (letzte 30 Tage)
Ayoub Amiri
Ayoub Amiri am 1 Aug. 2023
Kommentiert: Ayoub Amiri am 3 Aug. 2023
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?

Antworten (1)

Paul
Paul am 1 Aug. 2023
A Triggered Subsystem may fit the bill.
More generally, check Conditionally Executed Subsystems for more discussion.

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by