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