Execution Time Calculation in Simulink
Show older comments
Hello friends,
I consider using simulating a model using only Simulink envirment. The Simulink model has MATLAB functions containing optimization algorithms, and no code generation is required. How can I find the time required to simulate the model?
ALL THE SIMULATION IS PERFORMED ON SIMULINK
Thanks!
Accepted Answer
More Answers (1)
Fangjun Jiang
on 18 May 2020
Like this?
tic;
sim('MyModel');
toc;
Categories
Find more on Simulink Coder 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!