Property groups for System object display
group = getPropertyGroupsImpl
group = getPropertyGroupsImpl
specifies
how to group properties for display. You specify property sections
(matlab.system.display.Section
) and section groups
(matlab.system.display.SectionGroup
) within this
method. Sections arrange properties into groups. Section groups arrange
sections and properties into groups. If a System
object™, included
through the MATLAB System block,
has a section, but that section is not in a section group, its properties
appear above the block dialog tab panels.
If you do not include a getPropertyGroupsImpl
method
in your code, all public properties are included in the dialog box
by default. If you include a getPropertyGroupsImpl
method
but do not list a property, that property does not appear in the dialog
box.
When the System
object is displayed at the MATLAB® command
line, the properties are grouped as defined in getPropertyGroupsImpl
.
If your getPropertyGroupsImpl
defines multiple section
groups, only properties from the first section group are displayed
at the command line. To display properties in other sections, a link
is provided at the end of a System object property display. Group
titles are also displayed at the command line. To omit the "Main"
title for the first group of properties, set TitleSource
to 'Auto'
in matlab.system.display.SectionGroup
.
getPropertyGroupsImpl
is called by the MATLAB
System block and when displaying the object at the command
line.
You must set Access = protected
and Static
for
this method.
|
Property group or groups |