How MatLab Function block in simulink execute instruction with sampling time?

I have made a matlab function in simulink that execute at F=100Hz, I have around 8 lines of code.
does that mean that to execute the whole code lines need 8*1/F time or it execute it at higher rate but output each T period?

Answers (0)

Categories

Find more on Modeling in Help Center and File Exchange

Asked:

on 6 Sep 2021

Community Treasure Hunt

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

Start Hunting!