This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Specify how long to wait for image data


The Timeout property specifies the amount of time (in seconds) that the getdata and getsnapshot functions wait for data to be returned. The Timeout property is only associated with these blocking functions. If the specified time period expires, the functions return control to the MATLAB® command line.

A timeout is one of the conditions for stopping an acquisition. When a timeout occurs, and the object is running, the MATLAB file function specified by ErrorFcn is called.


The Timeout property is not associated with hardware timeout conditions.



Read only while running

Data type



Any positive integer. The default value is 10 seconds.

See Also


EventLog, ErrorFcn

Was this topic helpful?