Borrar filtros
Borrar filtros

I want to see how long it takes to run a model

2 visualizaciones (últimos 30 días)
Fernando  Beltrán
Fernando Beltrán el 15 de Sept. de 2016
Editada: Mohamed Belkhayat el 27 de Ag. de 2019
Good morning, I have a problem. I want to see how long it takes to run a model. But I do not know how to calculate the different times. (UpdateDiagramTime, AccelBuildTime and SimTime). If someone could help me. Thank you very much
  1 comentario
Mohamed Belkhayat
Mohamed Belkhayat el 27 de Ag. de 2019
Editada: Mohamed Belkhayat el 27 de Ag. de 2019
tic;sim('model');a=toc;save sim_time a;
this runs the model and saves the time to a file named sim_time in case you need that.

Iniciar sesión para comentar.

Respuesta aceptada

Mischa Kim
Mischa Kim el 15 de Sept. de 2016
Editada: Mischa Kim el 15 de Sept. de 2016
Fernando, I assume you are talking about Simulink models. There is a functionality called profiler that might help you. See the documentation for more detail.
  1 comentario
Fernando  Beltrán
Fernando Beltrán el 15 de Sept. de 2016
I understand that the parties in which the total simulation time is divided are.
Normal mode: compileAndLinkPhase, simulationPhase and terminationPhase
Accelerator mode:compileAndLinkPhase, simulationPhase and initiliazionPhase.
Is this true? Can you tell me which corresponds to each part?
Thank you very much

Iniciar sesión para comentar.

Más respuestas (1)

Fernando  Beltrán
Fernando Beltrán el 15 de Sept. de 2016
Thank you very much

Categorías

Más información sobre Modeling en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by