Class: Simulink.dialog.parameter.CustomTable
Package: Simulink.dialog.parameter
Remove an existing row from a specific position in a custom table
tableControl.removeRow(rowIndex)
removes the row from a specified position in a custom table.tableControl
.removeRow(rowIndex
)
% 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);