LabKit MATLAB Workbench

reference

FrameworkApp SDK API

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});

Source

This page is generated from the MATLAB help text in +labkit/+app/+layout/section.m.