Skip to Main Content Skip to Search
Product Documentation

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.

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS