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

답변 (2개)

Pramod Bhat
Pramod Bhat 2012년 3월 28일

1 개 추천

yes. You can tic and toc functions for that. for example,
tic %event starts here . . some instructions
. . . toc % event ends here.
Taha
Taha 2015년 1월 20일
편집: Taha 2015년 1월 20일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

태그

아직 태그를 입력하지 않았습니다.

질문:

2012년 3월 28일

편집:

2015년 1월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by