Skip to Main Content Skip to Search
Product Documentation

ModelCode - Specify model code of USB instrument

Description

You configure ModelCode to be the model code of the USB instrument.

The Name and RsrcName properties are automatically updated to reflect the ModelCode value.

You can configure ModelCode only when the object is disconnected from the instrument. You disconnect a connected object with the fclose function. A disconnected object has a Status property value of closed.

Characteristics

Usage

VISA-USB

Read only

While open

Data type

String

See Also

Functions

fclose

Properties

Name, RsrcName

  


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