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.


Get and set .NET properties in MATLAB®, special features of .NET properties


NET.setStaticPropertyStatic property or field name


Set Static .NET Properties

This example shows how to set a static property using the NET.setStaticProperty function.

Call .NET Properties That Take an Argument

MATLAB represents a property that takes an argument as a method.

Using .NET Properties

How MATLAB represents .NET properties and maps C# property and field access modifiers.

MATLAB Does Not Display Protected Properties

The System.Windows.Media.ContainerVisual class, available in .NET Framework Version 3.0 and above, has several protected properties.