inspect

Open Property Inspector

Syntax

inspect(obj)

Arguments

obj

An object or an array of objects.

Description

inspect(obj) opens the Property Inspector and allows you to inspect and set properties for the object obj.

Examples

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.

More About

expand all

Tips

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.

See Also

| | | |

Was this topic helpful?