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 ExchangeSimulink についてさらに検索

製品

タグ

タグが未入力です。

質問済み:

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