Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

mexSet (C)

Set value of specified graphics property

Do not use mexSet. Use mxSetProperty instead.

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 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:

  • Specifying a nonexistent property.

  • Specifying an illegal value for that property, for example, specifying a string value for a numerical property.

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.

Was this topic helpful?