Conditionally executed functions in Simulink

6 次查看(过去 30 天)
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?

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by