Documentation

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.

geterror

Check and return error message from instrument

Syntax

msg = geterror(obj)

Arguments

obj

A device object.

msg

The error message returned from the instrument.

Description

msg = geterror(obj) checks the instrument associated with the device object specified by obj for an error message. If an error message exists, it is returned to msg. The interpretation of msg will vary based on the instrument.

Introduced before R2006a

Was this topic helpful?