how to calculate the processing time for the simulation

2 Ansichten (letzte 30 Tage)
mohan gopal
mohan gopal am 28 Mär. 2012
Bearbeitet: Taha am 20 Jan. 2015
is there any instructions holding to do the operation of the finding the processing time of an event

Antworten (2)

Pramod Bhat
Pramod Bhat am 28 Mär. 2012
yes. You can tic and toc functions for that. for example,
tic %event starts here . . some instructions
. . . toc % event ends here.

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

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by