Previous: , Up: Audio Player   [Contents][Index]


33.3.2 Properties

The remaining couple of methods are used to get and set various properties of the audioplayer object.

Function File: value = get (player, name)
Function File: values = get (player)

Return the value of the property identified by name.

If name is a cell array return the values of the properties identified by the elements of the cell array. Given only the player object, return a scalar structure with values of all properties of player. The field names of the structure correspond to property names.

Function File: set (player, name, value)
Function File: set (player, properties)
Function File: properties = set (player)

Set the value of property specified by name to a given value.

If name and value are cell arrays, set each property to the corresponding value. Given a structure of properties with fields corresponding to property names, set the value of those properties to the field values. Given only the audioplayer object, return a structure of settable properties.