| External Interfaces/API Reference | ![]() |
Get the value of the 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
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.
Example
See mexget.c in the mex subdirectory of the examples directory.
See Also
| mexFunctionName | mexGetArray | ![]() |