Simulink Profiler and its total time

3 views (last 30 days)
Hafsa Hamidane
Hafsa Hamidane on 25 Sep 2022
Answered: Kothuri on 6 Feb 2025
Hello,
I have a question concerning Simulink Profiler, I wonder if the total time "Simulink Profiler" consider also the time of execution when calling the function in case when using an interpreted Matlab function?
Thank you.
  1 Comment
Amish
Amish on 5 Feb 2025
The Simulink Profiler reports the total time taken by each block, including any MATLAB function calls made during the simulation. Thus, the execution time of the Interpreted MATLAB Function block will reflect the time taken to execute the MATLAB code it contains

Sign in to comment.

Answers (1)

Kothuri
Kothuri on 6 Feb 2025
The Simulink Profiler measures the total execution time for the simulation and the execution time for each model component, including blocks, subsystems, and model references.
You can refer the below documentation for more info on SImulink Profiler

Categories

Find more on Manual Performance Optimization 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!