필터 지우기
필터 지우기

compute computational time

조회 수: 1 (최근 30일)
dab483
dab483 2012년 3월 6일
Hi,
i am running a simulation which have 2 blocks s-function (each represents different algorithm) in one simulink window. i want to make comparison between these two algorithms in terms of its computational time.
is that possible if i want to calculate its computational time for each blocks when run the simulation?
i know that we can use tic toc or cputime command if we run the simulation from m-file. any way if we want to know directly from simulink? Thank you in advance.

답변 (1개)

Ben
Ben 2012년 3월 23일
Tick the 'profile' box in the Simulink tools menu, then run your simulation again.
  댓글 수: 1
dab483
dab483 2012년 5월 17일
hi, try your suggestion. so, we read directly from the self time right?

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by