Does simulink wait for a function block?

5 views (last 30 days)
Zhikai Zhang
Zhikai Zhang on 21 May 2020
Answered: Sai Sri Pathuri on 26 May 2020
For a simulink function block, if the function takes time to execute, does simulink wait for it to finish executeing at each time stamp or does it just go on?

Answers (1)

Sai Sri Pathuri
Sai Sri Pathuri on 26 May 2020
Simulink executes the function block at each time step unless it is conditionally executed. You may refer the following documentation for Conditionally executed subsystems.

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!