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);

Arguments

handle

Handle to a particular graphics object

property

Graphics property

Returns

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.

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.