Main Content

Simulink.dialog.LookuptableControlbreakpoints class

Package: Simulink.dialog

Control breakpoint data set for mask lookup table

Description

Create an instance of Simulink.dialog.LookupTableControl.Breakpoints to specify the properties of the breakpoint data set in the lookup table control. The value of the Breakpoints property is an array of Simulink.dialog.LookupTableControl.Breakpoints objects. Each embedded object represents one breakpoint set.

Properties

expand all

Name of the parameter specifying the breakpoint data.

Data Types: String

Specifies the units for the breakpoint data.

Data Types: String

Specifies the display name for the breakpoint data.

Data Types: String

Control the minimum value that can be specified for any cell in the table. This is a read only field and cannot be set through lookup table control.

Data Types: String

Control the maximum value that can be specified for any cell in the table. This is a read only field and cannot be set through lookup table control.

Data Types: String

Examples

Add Breakpoint Data Set

Set breakpoint properties of Dimension 1.
   >>lutControl.Breakpoints(1).Name = 'torque';
   >>lutControl.Breakpoints(1).Unit = 'Nm';
   >>lutControl.Breakpoints(1).FieldName = 'Torque';

Set Breakpoint properties of Dimension 2
   >>lutControl.Breakpoints(2).Name = 'speed';
   >>lutControl.Breakpoints(2).Unit = 'rpm';
   >>lutControl.Breakpoints(2).FieldName = 'Speed';
Introduced in R2021b