Hello again,
I've work on this a little bit and I think I've resolved most of my issues except one. I am now able to track my objects plenty fast using videodevice and the step command in a while loop. The issue that I have is that I do not get any timing precision on when the frames are being acquired. I can use the tic/toc functions to get an estimate of the time interval between frames , but I would love to instead fix my while loop to a given frame rate so that the output movie has a fixed framerate and not a variable one. I've tried using the pause function to make up for the timing difference between frames, but it does not appear to be accurate enough.
Thank you again, Quentin