mexGet (C) - Get value of specified Handle Graphics property

C Syntax

#include "mex.h"
const mxArray *mexGet(double handle, const char *property);

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 the MATLAB get function. To set a graphics property value, call mexSet.

Examples

See mexget.c in the mex subdirectory of the examples directory.

See Also

mexSet

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS