MATLAB: Does tic,toc influence the performance of a simulink model

elapsed timetime

Hi everybody,
I would like to measure the elapsed time of my simulink simulation. The Profiler Report slows down my simulation and therefore increases the simulation time. I would like to know, if:
tic; sim('mysimulation'); toc
also influences the simulation performance. I have no idea, how I could detect that.
Many thanks
Martin

Best Answer

Hi Martin,
no, tic/toc has no influence on performance.
Titus
Related Question