Effacer les filtres
Effacer les filtres

Execution Time Calculation in Simulink

1 vue (au cours des 30 derniers jours)
Saleh Msaddi
Saleh Msaddi le 18 Mai 2020
Modifié(e) : Ameer Hamza le 19 Mai 2020
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!

Réponse acceptée

Ameer Hamza
Ameer Hamza le 18 Mai 2020
Modifié(e) : Ameer Hamza le 19 Mai 2020
See the profiling tools in Simulink: https://www.mathworks.com/help/simulink/ug/how-profiler-captures-performance-data.html. You can monitor the execution time of individual blocks.

Plus de réponses (1)

Fangjun Jiang
Fangjun Jiang le 18 Mai 2020
Like this?
tic;
sim('MyModel');
toc;

Catégories

En savoir plus sur Manual Performance Optimization dans Help Center et File Exchange

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by