Main Content

.NET Properties in MATLAB

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

These topics describe how to handle special features of .NET properties in MATLAB.

Functions

NET.setStaticPropertyStatic property or field name

Topics

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.