필터 지우기
필터 지우기

Creating a timer without pause

조회 수: 2 (최근 30일)
Hanif
Hanif 2013년 6월 26일
*How do I create a timer in one function and have a callback in another function*
ie:
function createtimer
t = timer... %Finish Timer statement
start(t)
end
function TimerCallback
% Do whatever
end
OR
*How do I create a timer, that will wait x amount of seconds before executing the next line of code (Similar to pause but not pause) *
ie:
function Starttimer
disp('hello')
t = timer ..
start(t)
disp('world')
end

답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by