Can I introduce time delay in MATLAB?

3 visualizaciones (últimos 30 días)
Mitra Bapat
Mitra Bapat el 14 de Feb. de 2015
Respondida: Star Strider el 14 de Feb. de 2015
I have 3 webcams connected to my PC. I want CAM 1 to take a snapshot, and say 30 seconds later, I want CAM 2 to take a snapshot. Then, after 30 more seconds, CAM 3 will take a snapshot. The images that come from different cameras must be stored in 3 different variables i.e. 1 variable for each camera. So, how would I introduce that 30 seconds delay through MATLAB? please help. Thank you

Respuestas (1)

Star Strider
Star Strider el 14 de Feb. de 2015
The easiest solution is probably the pause function.
The timer class functions are also an option.

Categorías

Más información sobre Entering Commands 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