Package: Simulink.dialog
Control listbox programmatically
Use an instance of Simulink.dialog.ListBoxControl
class to perform the following operations:
Get selected items from the listbox
Set selected items in the listbox
|
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 listbox. Type: Default:
|
|
Specifies the MATLAB® command (s) to be executed 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:
|
getSelectedItems | Get the values of selected items from a listbox |
setSelectedItems | Set values for a listbox |