Simulink.dialog.ListboxControl class
Package: Simulink.dialog
Control list box programmatically
Description
Use an instance of Simulink.dialog.ListBoxControl
class to perform the following operations:
Get selected items from the list box
Set selected items in the list box
Properties
|
Uniquely identifies the dialog control and is a required field. Type: |
|
Specifies the text displayed on the button dialog control. Type: Default:
|
|
Specifies the options shown in the list box. Type: Default:
|
|
Specifies the MATLAB® code to execute when the dialog control is invoked. Type: Default:
|
|
Specifies whether dialog control is placed on the current row or on a new row. Type: Value:
Default:
|
|
Indicates whether container is active on the mask dialog box. Type:
Value:
Default:
|
|
Indicates whether container is displayed on the mask dialog box. Type:
Value:
Default:
|
|
Indicates whether container is enabled for multiple selection. Type:
Value:
Default:
|
Methods
getSelectedItems | Get the values of selected items from a list box |
setSelectedItems | Set values for a list box |