how to calculate the processing time for the simulation

is there any instructions holding to do the operation of the finding the processing time of an event

Respuestas (2)

Pramod Bhat
Pramod Bhat el 28 de Mzo. de 2012
yes. You can tic and toc functions for that. for example,
tic %event starts here . . some instructions
. . . toc % event ends here.
Taha
Taha el 20 de En. de 2015
Editada: Taha el 20 de En. de 2015
under Models-Properties than Callbacks than StartFcn -> tic than StopFcn -> toc. done! after simulations you will see the simulation time in MATLAB

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Etiquetas

Aún no se han introducido etiquetas.

Preguntada:

el 28 de Mzo. de 2012

Editada:

el 20 de En. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by