This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

Timeout

Waiting time to complete a read or write operation

Description

You configure Timeout to be the maximum time (in seconds) to wait to complete a read or write operation.

If a time-out occurs, the read or write operation aborts. Additionally, if a time-out occurs during an asynchronous read or write operation, then:

  • An error event is generated.

  • The callback function specified for ErrorFcn is executed.

Characteristics

Read only

Never

Data type

Double

Values

The default value is 10 seconds.