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.
Monika Jaskolka (2021). Model Execution Time (https://www.mathworks.com/matlabcentral/fileexchange/72854-model-execution-time), MATLAB Central File Exchange. Retrieved .
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
@Monika Jaskolka: It works great! Thank you for responding so promptly!
@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.
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