Clear Filters
Clear Filters

When playing a movie, can I add a user defined function to be called every frame?

1 view (last 30 days)
For a compressed sensing application I need to display an image and execute some commands in a synchronized manner at high speed - ideally at least 100Hz. The 'image' commands allow only about 20Hz. I can play a movie (using 'movie' or 'implay') at the required framerate, but I can't synchronize my commands to the frames. Adding a callback function to each frame would allow me to do this with ease.

Answers (0)

Community Treasure Hunt

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

Start Hunting!