How to know what is the computational time for running matlab simulink?
이전 댓글 표시
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
답변 (4개)
Aurelien Queffurust
2011년 9월 13일
1 개 추천
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.
Nina
2011년 9월 13일
0 개 추천
Write "tic" at the beginning of your code, and "toc" at the end.
Andreas Goser
2011년 9월 13일
0 개 추천
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?
댓글 수: 1
supriya diwan
2022년 11월 29일
yes, I need to reduce computational time
카테고리
도움말 센터 및 File Exchange에서 Application Deployment에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!