Main Content
removeRow
Class: Simulink.dialog.parameter.CustomTable
Namespace: Simulink.dialog.parameter
Remove an existing row from a specific position in a custom table
Syntax
tableControl.removeRow(rowIndex)
Description
removes the row from a specified position in a custom table.tableControl
.removeRow(rowIndex
)
Input Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Remove row with index number 6. tableControl.removeRow(6);
Version History
Introduced in R2019a