Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

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. You can change the order of properties displayed and specify which properties to display.

Construction

P = matlab.mixin.util.PropertyGroup(propertyList) constructs a property group object 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 char vectors.

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.

Introduced in R2013b

Was this topic helpful?