Simulink: Determine time needed for simulation
조회 수: 3(최근 30일)
표시 이전 댓글
Hi everybody!
I am trying to determine the time that a simulation needs to run on my computer in different modes, excluding the compilation and initialization period.
I have tried putting tic and toc commands in the Model callbacks StartFcn and StopFcn, but that gives me the overall time- what I want to know is only the time it takes from the first to the last simulation step.
Is there a way to do this?
Thank you very much for your help!
댓글 수: 0
참고 항목
범주
Find more on Sources in Help Center and File Exchange
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!