This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Package: NET

Static property or field name


NET.setStaticProperty('propName', value)


NET.setStaticProperty('propName', value) sets the static property or field name specified in the string or character vector propName to the given value.


To set the myStaticProperty in the given class and namespace, use the syntax:

NET.setStaticProperty('MyTestObject.MyClass.myStaticProperty', 5);

Introduced in R2009b