필터 지우기
필터 지우기

I want to execute a function in a gui Matlab each time intervals

조회 수: 5 (최근 30일)
I am working with a camera in Real Time and this need to receive a command each 120 seconds to keep turned on. While, the camera must receive other commands to take a photo, etc. Can someone help me?
Thanks you.
  댓글 수: 2
Adam
Adam 2016년 8월 23일
doc Timer
should do the job, though I've not really used it myself. It has examples though.
Beatriz Porrero
Beatriz Porrero 2016년 8월 25일
Thanks, your answer is very useful.

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

채택된 답변

Geoff Hayes
Geoff Hayes 2016년 8월 25일
Beatriz - see http://www.mathworks.com/matlabcentral/answers/178682-collecting-a-variable-every-two-minutes for details on how to use a timer within a GUI.
  댓글 수: 1
Beatriz Porrero
Beatriz Porrero 2016년 8월 25일
Thank you, I have sent the command to the camera each time interval. Your answer, its really good.

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

추가 답변 (0개)

카테고리

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