Create list selection dialog box
[
creates a modal
dialog box that allows the user to select one or more items from the specified
list.indx
,tf
] = listdlg('ListString',list
)
The list
value is the list of items to present in the dialog
box.
The function returns two output arguments, indx
and
tf
containing information about which items the user
selected.
The dialog box includes Select all,
Cancel, and OK buttons. You can
limit selection to a single item by using the name-value pair,
'SelectionMode','single'
.