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 visualizaciones (últimos 30 días)
I explain in question section.

Respuestas (1)

Steven Lord
Steven Lord el 4 de Mayo de 2018
Did you set the ExecutionMode property of the timer object to a value other than the default, which is 'singleShot'?
  3 comentarios
Md. Habibur Rahman Rahman
Md. Habibur Rahman Rahman el 5 de Mayo de 2018
Editada: Walter Roberson el 5 de Mayo de 2018
>>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)
>>

Iniciar sesión para comentar.

Comunidades de usuarios

Más respuestas en  Distance Learning Community

Categorías

Más información sobre Engines & Motors en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by