Does tic,toc influence the performance of a simulink model?

7 views (last 30 days)
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

Accepted Answer

Titus Edelhofer
Titus Edelhofer on 21 Oct 2015
Hi Martin,
no, tic/toc has no influence on performance.
Titus

More Answers (0)

Categories

Find more on MATLAB 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!