How to know what is the computational time for running matlab simulink?
13 次查看(过去 30 天)
显示 更早的评论
Hi!
My supervisor ask me just now what is my computational time? How can i know? where can I check this? Can this value be modify by me depend on my applications??
Thank you
p/s need prompt feedback
0 个评论
回答(4 个)
Fangjun Jiang
2011-9-13
Missing point.
Model='f14';
open_system(Model)
tic;
sim(Model);
toc;
tic/toc is like stopwatch to measure the time. You can use sim() to run simulation of a Simulink model at the command line.
0 个评论
Andreas Goser
2011-9-13
In addition, you can use CPUTIME and ETIME.
BUT
Typically, nobody asks this for pure curiosity. Do you need to reduce the time of the application?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Configure and View Diagnostics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!