reference
labkit.app.layout.workbench
Assemble controls and a central workspace into the root layout.
Syntax
node = labkit.app.layout.workbench(children, Name=Value)Description
Produces the root semantic layout required by labkit.app.Definition.
Inputs
children- Row cell array of controls, groups, sections, or tabs.
Options
Workspace- Value returned by layout.workspace. Default: [].
Usage- Static workflow instruction lines appended consistently to the first control tab. Default: strings(1,0).
UsageTitle- Title for generated workflow instructions. Default: "Usage".
Outputs
node- Immutable root layout node.
Errors
Throws labkit:app:contract:* for invalid children or workspace values.
Typical Call
node = labkit.app.layout.workbench({runButton});Related APIs
labkit.app.Definition— Compile and launch one immutable App SDK contract.labkit.app.layout.workspace— Define the App's central working area and optional pages.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.group— Arrange related child elements without a titled boundary.labkit.app.layout.logPanel— Add a text display for App log messages.
Source
This page is generated from the MATLAB help text in +labkit/+app/+layout/workbench.m.