I want to use timer object in Matlab Mobile while connected using matlab cloud, but it not work when i execute start () function except one. what can i do an other way execute after a while continuously? Thanking in advance.

조회 수: 2 (최근 30일)
I explain in question section.

답변 (1개)

Steven Lord
Steven Lord 2018년 5월 4일
Did you set the ExecutionMode property of the timer object to a value other than the default, which is 'singleShot'?
  댓글 수: 3
Md. Habibur Rahman Rahman
Md. Habibur Rahman Rahman 2018년 5월 5일
편집: Walter Roberson 2018년 5월 5일
>>t=timer
>>set(t,'executionMode', 'fixedSpacing') %%I had used other execution modes but result was same.
>>set(t, 'timerFcn', 'disp("Hello world!")')
>>start(t)
Hello world!
(it's not run again like computer. run in background as period)
>>

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

커뮤니티

더 많은 답변 보기:  원격 교육 커뮤니티

카테고리

Help CenterFile Exchange에서 Engines & Motors에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by