Skip to Main Content Skip to Search
Product Documentation

NET.setStaticProperty - Package: NET

Static property or field name

Syntax

NET.setStaticProperty('propName', value)

Description

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

Examples

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

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


Free MATLAB Interactive Kit

Explore how to use MATLAB to make advancements in engineering and science.


Download free kit

Trials Available

Try the latest version of MATLAB and other MathWorks products.


Get trial software
 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS