mexSet (C) - Set value of specified Handle Graphics property

C Syntax

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

Arguments

handle

Handle to a particular graphics object

property

String naming a Handle Graphics property

value

Pointer to an mxArray holding the new value to assign to the property

Returns

0 on success; 1 on failure. Possible causes of failure include:

Description

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

Examples

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

See Also

mexGet

  


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