Conditionally executed functions in Simulink

3 views (last 30 days)
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?

Answers (1)

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

Categories

Find more on Modeling in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!