Main Content

mexGet (C)

Value of specified graphics property

Do not use mexGet. Use mxGetProperty instead.

C Syntax

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



Handle to a particular graphics object


Graphics property


Value of the specified property in the specified graphics object on success. Returns NULL on failure. Do not modify the return argument from mexGet. Changing the data in a const (read-only) mxArray can produce undesired side effects.


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.