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

Réponses (2)

Pramod Bhat
Pramod Bhat le 28 Mar 2012

1 vote

yes. You can tic and toc functions for that. for example,
tic %event starts here . . some instructions
. . . toc % event ends here.
Taha
Taha le 20 Jan 2015
Modifié(e) : Taha le 20 Jan 2015

0 votes

under Models-Properties than Callbacks than StartFcn -> tic than StopFcn -> toc. done! after simulations you will see the simulation time in MATLAB

Catégories

En savoir plus sur Simulink dans Centre d'aide et File Exchange

Produits

Tags

Aucun tag saisi pour le moment.

Modifié(e) :

le 20 Jan 2015

Community Treasure Hunt

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

Start Hunting!

Translated by