File Exchange

image thumbnail

Model Execution Time

version 1.3.2 (2.85 KB) by Monika Jaskolka
Simulates a Simulink model a number of times and records/plots the execution time.


Updated 02 Jun 2020

View License

Simulates a Simulink model a number of times and records the execution time data. The results are then plotted, along with the min, max, and mean times. The user can specify how many simulations to perform.

Cite As

Monika Jaskolka (2020). Model Execution Time (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

Hi there, I was wondering how to plot the results after having run the Simulink sim for x amount of simulations. Is this something I type in the command window, or is it something I put in simulink?

Thanks in advance! I am new to Matlab.


Jerki Jokne



Updated code comments.


Updated code comments.


Made plotting the default.


Made the number of simulations an optional argument, and made plotting optional.

MATLAB Release Compatibility
Created with R2019b
Compatible with any release
Platform Compatibility
Windows macOS Linux