| Data Acquisition Toolbox™ | ![]() |
inspect(obj)
obj | An object or an array of objects. |
inspect(obj) opens the Property Inspector and allows you to inspect and set properties for the object obj.
You can also open the Property Inspector via the Workspace browser by double-clicking an object in the Workspace list.
The Property Inspector does not automatically update its display. To refresh the Property Inspector, open it again.
Create the analog input object ai for a sound card and add two channels.
ai = analoginput('winsound');
addchannel(ai,1:2);Open the Property Inspector for the object ai.
inspect(ai)
The Property Inspector is shown below.
You can expand the properties that are arrays of objects. In the following figure, the Channel property is expanded to enumerate the individual channel objects that make up this property.
You can also expand these individual channel objects to display their own properties, as shown for channel 1.

daqfind, daqhelp, get, propinfo, set
![]() | getvalue | ischannel | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |