Borrar filtros
Borrar filtros

Execution Time Calculation in Simulink

1 visualización (últimos 30 días)
Saleh Msaddi
Saleh Msaddi el 18 de Mayo de 2020
Editada: Ameer Hamza el 19 de Mayo de 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!

Respuesta aceptada

Ameer Hamza
Ameer Hamza el 18 de Mayo de 2020
Editada: Ameer Hamza el 19 de Mayo de 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.

Más respuestas (1)

Fangjun Jiang
Fangjun Jiang el 18 de Mayo de 2020
Like this?
tic;
sim('MyModel');
toc;

Categorías

Más información sobre Manual Performance Optimization en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by