Documentation Center

  • Trial Software
  • Product Updates

matlab.mixin.util.PropertyGroup class

Package: matlab.mixin.util

Custom property list for object display

Description

Use the PropertyGroup class to create custom property display lists for class derived from matlab.mixin.CustomDisplay.

Construction

P = matlab.mixin.util.PropertyGroup(propertyList) constructs a property group with the supplied propertyList.

P = matlab.mixin.util.PropertyGroup(propertyList,title) displays title above the list of properties.

Input Arguments

propertyList

The propertyList is either a cell array of property names, or a scalar struct with property name-value pairs.

title

Text to display above properties.

Properties

NumProperties

The number of properties in the PropertyList.

Attributes:

Dependenttrue
GetAccesspublic
GetObservabletrue
SetAccessprivate
Transienttrue

PropertyList

The list of properties to display, stored as a scalar struct or a cell array of strings.

Attributes:

GetAccesspublic
GetObservabletrue
SetAccesspublic
SetObservabletrue

Title

An optional Title for the PropertyGroup.

Attributes:

GetAccesspublic
GetObservabletrue
SetAccesspublic
SetObservabletrue

Copy Semantics

Value. To learn how value classes affect copy operations, see Copying Objects in the MATLAB® documentation.

See Also

Related Examples

More About

Was this topic helpful?