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

Function: 'putFramerate' and 'getFramerate'

Get or set a global framerate variable in Hz..


Parameters:

('putFramerate', rate) set global video framerate
('getFramerate', rate) get the best global estimate of framerate.

Return:

1 = indicates an internal error occurred and MatVis in has not been initialized
0 = successful initialization
otherwise the framerate is returned.

Description:

The 'init' function must be called before these framerate functions are used. These functions may disappear in future versions of MatVis.

Examples:
1) rate=MatVis('getFramerate') ;

2) MatVis('setFramerate',100) ;

See Also:
showModes setModeDimensions