Running a program with an external trigger

3 次查看(过去 30 天)
Hi,
I am looking for a function that is very much like the timer function, but executing a timer function not with a pre-defined time, rather with an external trigger. The main program should be running all the time, and this trigger will only temporarily interrupt the main program. Any suggestions? Thanks!
  3 个评论
Feng
Feng 2014-9-5
'external trigger' is from one of the NI daq board's digital outputs, for example.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by