MatVis format:
MatVis('function name', additional parameters...)

Function: 'vsync'

Presents the current video image for the requested frames and returns.

Parameters :

('vsync', count) count is the number of frames to wait.

Return:

1 = indicates an internal error occurred in MatVis
0 = successful completion of command

Description:

This can be used to delay a selected number of video frames. Its typically used along with the 'flashImage' function to update the screen without calling the 'run' function.

Examples:

Delay two seconds on a system monitor running at 120Hz.
error = MatVis('vsync',120) ;

See Also:

flashImage flip