Connecting to the Instrument
Before you can use an instrument object to write or read data,
you must connect it to the instrument. You connect an interface object
to the instrument with the fopen function;
you connect a device object to the instrument with the connect function.
You can examine the Status property to
verify that the instrument object is connected to the instrument.
obj.Status
ans =
open
Some properties of the object are read-only while the object
is connected and must be configured before connecting. Examples of
interface object properties that are read-only when the object is
connected include InputBufferSize and OutputBufferSize.
You can determine when a property is configurable with the propinfo function or by referring
to Properties — Alphabetical
List .
 | Creating Instrument Objects | | Configuring and Returning Properties |  |
Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
Get the Interactive Kit