reference
labkit.app.layout.section
Arrange related child elements under a visible title.
Syntax
node = labkit.app.layout.section(id, title, children, Name=Value)Description
Groups compatible controls under a reader-facing title.
Inputs
id- Unique MATLAB identifier for the layout target.
title- Nonempty section title.
children- Row cell array of layout nodes.
Options
Collapsible- Logical collapse support. Default: false.
Expanded- Initial logical expansion state. Default: true.
Outputs
node- Immutable internal layout node accepted by containers.
Errors
Throws labkit:app:contract:* for invalid IDs, children, or options.
Typical Call
node = labkit.app.layout.section("inputs", "Inputs", {gainField});Related APIs
labkit.app.layout.group— Arrange related child elements without a titled boundary.labkit.app.layout.tab— Add a named tab containing related child elements.labkit.app.layout.button— Add a push button with one explicit pressed callback.labkit.app.layout.dataTable— Add a tabular data display with optional editing and selection.labkit.app.layout.field— Add a text, numeric, choice, or logical input field.labkit.app.layout.fileList— Add file selection and portable-source controls.labkit.app.layout.logPanel— Add a text display for App log messages.labkit.app.layout.plotArea— Add one or more axes rendered by an App-owned renderer.
Source
This page is generated from the MATLAB help text in +labkit/+app/+layout/section.m.