Main Content
getSelectedRows
Class: Simulink.dialog.parameter.CustomTable
Namespace: Simulink.dialog.parameter
Get all the selected rows of a custom table
Syntax
selectedRows = tableControl.getSelectedRows()
Description
fetches the information from the specified column of a custom table.selectedRows
= tableControl
.getSelectedRows()
Output Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Get selected rows. selectedRows = tableControl.getSelectedRows();
ans = 3 4
Version History
Introduced in R2019a