How to reach Matlab function block only one time for every sample time

4 views (last 30 days)
Hi everyone,
How can I configure the Simulink such that each Matlab function block is reached only one time per sample time?
Currently, even though I choose the fixed-step size = 0.012 s and run the program within 0.012 s. However, the matlab function blocks is called several times. Thus, it yields some problem in calculation.

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Products


Release

R2016a

Community Treasure Hunt

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

Start Hunting!