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.

1 次查看(过去 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
编辑: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 中查找有关 MATLAB Support Package for IP Cameras 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by