Package: matlab.system.display
Superclasses:
Section group for System objects
matlab.system.display.SectionGroup(N1,V1,...Nn,Vn)
matlab.system.display.SectionGroup(Obj,...)
matlab.system.display.SectionGroup(N1,V1,...Nn,Vn)
creates
a group for displaying System object™ properties and display sections
created with matlab.system.display.Section
. You define
such sections or properties using property Name-Value pairs (N
,V
).
A section group can contain both properties and sections. You use matlab.system.display.SectionGroup
to
define section groups using the getPropertyGroupsImpl
method.
Section groups display as separate tabs in the MATLAB
System block. The available Section properties are
Title
— Group title. The
default value is an empty character vector.
TitleSource
— Source of
group title. Valid values are 'Property'
and 'Auto'
.
The default value is 'Property'
, which uses the
character vector from the Title
property. If
the Obj
name is given, the default value is Auto
,
which uses the Obj
name. In the System object property
display at the MATLAB® command line, you can omit the default
"Main" title for the first group of properties by setting TitleSource
to 'Auto'
.
Description
— Group or
tab description that appears above any properties or panels. The default
value is an empty character vector.
PropertyList
— Group or
tab property list as a cell array of property names. The default value
is an empty array. If the Obj
name is given, the
default value is all eligible display properties.
Sections
— Group sections
as an array of section objects. If the Obj
name is
given, the default value is the default section for the Obj
.
matlab.system.display.SectionGroup(Obj,...)
creates
a section group for the specified System object (Obj
)
and sets the following property values:
TitleSource
— Set to 'Auto'
.
Sections
— Set to matlab.system.display.Section
object
for Obj
.
You can use mfilename('class')
from
within this method to get the name of the System object. If you
set any Name-Value pairs, those property values override the default
settings.