File Exchange

image thumbnail

Model Execution Time

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

11 Downloads

Updated 08 Jul 2020

View Version History

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 (https://www.mathworks.com/matlabcentral/fileexchange/72854-model-execution-time), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (5)

Jonnie

Jake Thornton

@Monika Jaskolka: It works great! Thank you for responding so promptly!

Monika Jaskolka

@Jake Thornton: The newest version of the script will automatically plot the results. You can also try running executionTime(gcs, 'Plot', true); The optional input parameters are described in the script's header comments.

Jake Thornton

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.

Jake

Jerki Jokne

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

Community Treasure Hunt

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

Start Hunting!