| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
#include "mex.h"
int mexSet(double handle, const char *property,
mxArray *value);Handle to a particular graphics object
String naming a Handle Graphics property
Pointer to an mxArray holding the new value to assign to the property
0 on success; 1 on failure. Possible causes of failure include:
Specifying a nonexistent property.
Specifying an illegal value for that property, for example, specifying a string value for a numerical property.
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.
See mexget.c in the matlabroot/extern/examples/mex folder .
![]() | mexPutVariable (C and Fortran) | mexSetTrapFlag (C and Fortran) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |