User`s guide
Previewing Data
% Make handle to text label available to update function.
setappdata(hImage,'HandleToTimesta mpLabel',hTextLabel);
preview(vid, hImag e);
When y ou run this example, it creates the GUI shown in the following figure.
Each time
preview receives a video frame, it calls the update preview window
function that you specified, which updates the timestamp text label in the
GUI.
Custom Preview GUI with Timestamp Text Label
2-17