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
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.
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 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!