How we can get snapshot in matlab after a time limit say 3 second automatically

Hi everyone i am Mohan and i am making a project on image processing I want to take snapshot automatically after a time limit say 3 seconds using getsnapshot function in matlab.so please help me to get out of this problem

Community Treasure Hunt

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

Start Hunting!

Translated by