Summary information for device objects, channels, or lines
Note: You cannot use the legacy interface on 64-bit MATLAB®. See Working with the Session-Based Interface to acquire and generate data on a 64-bit MATLAB.
A device object.
One or more channels contained by obj.
One or more lines contained by obj.
All the commands shown below produce summary information for the device object AI or the channels contained by AI.
AI = analoginput('winsound') chans = addchannel(AI,1:2) AI.SampleRate = 44100 AI.Channel(1).ChannelName = 'CH1' chans
You can invoke disp by typing the device object at the MATLAB Command Window or by excluding the semicolon when
Creating a device object
Adding channel or lines
Configuring property values using the dot notation
As shown below, you can also display summary information via the Workspace browser by right-clicking a device object, a channel object, or a line object and selecting Explore > Display Summary from the context menu.