how to calculate the processing time for the simulation

3 visualizzazioni (ultimi 30 giorni)
is there any instructions holding to do the operation of the finding the processing time of an event

Risposte (2)

Pramod Bhat
Pramod Bhat il 28 Mar 2012
yes. You can tic and toc functions for that. for example,
tic %event starts here . . some instructions
. . . toc % event ends here.

Taha
Taha il 20 Gen 2015
Modificato: Taha il 20 Gen 2015
under Models-Properties than Callbacks than StartFcn -> tic than StopFcn -> toc. done! after simulations you will see the simulation time in MATLAB

Categorie

Scopri di più su MATLAB in Help Center e File Exchange

Tag

Non è stata ancora inserito alcun tag.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by