Latency check for the simulink model.

23 views (last 30 days)
Tharun Kumar
Tharun Kumar on 13 Feb 2026 at 13:06
Commented: Tharun Kumar on 17 Feb 2026 at 11:35
Hello,I have created a simulink model and want to check individual blocks latency in the simulink.Some one please suggest me what is the best way to check the latency of the individual blocks and also check latency of complete model.

Answers (1)

Tridib
Tridib on 17 Feb 2026 at 8:47
You can use the Simulink Profiler to measure execution times for individual blocks and subsystems while your model is running. The profiler generates a detailed report showing the time spent in each block, with two key metrics: Self Time, which reflects the execution time of the block itself, and Total Time, which includes the execution time of the block along with all blocks contained within it (children). This helps you clearly assess both the isolated performance of specific blocks and the cumulative cost of hierarchical subsystems, as well as your model.
For more information, refer to the following documentations:
Hope this helps!
  1 Comment
Tharun Kumar
Tharun Kumar on 17 Feb 2026 at 11:35
Dear Tridib,
Thank you for the info.But Using simulink profiler we can see the execution time of the each block.This execution time varies from processor to processor and also depends on the amount of input we are feeding into the system.But I want to check Latency of the blocks (i.e) how much time a sample of input can take to come out of the block gives latency .I want to find that latency of the individual blocks and latency of the total system.I can able to find Latency of the total block using scope ,But I dont know how to find the Latency of the intermediate blocks here the data types are different.

Sign in to comment.

Categories

Find more on Model Compatibility 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!