MATLAB Application Program Interface
  Go to function:
    Search    Help Desk 
mexGet    Examples   See Also

Get the value of the specified Handle Graphics property

C Syntax

Arguments

handle
  Handle to a particular graphics object.

property
  A Handle Graphics property.

Returns

The value of the specified property in the specified graphics object on success. Returns NULL on failure. The return argument from mexGet is declared as constant, meaning that it is read only and should not be modified. Changing the data in these mxArrays may produce undesired side effects.

Description

Call mexGet to get the value of the property of a certain graphics object. mexGet is the API equivalent of MATLAB's get function. To set a graphics property value, call mexSet.

Examples

Consider a MEX-file that expects a graphics handle as its first input argument. The MEX-file asks for the Color property associated with the handle, and then modifies this color:

For an additional example, see mexget.c in the mex subdirectory of the examples directory.

See Also

mexSet



[ Previous | Help Desk | Next ]