Main Content
insertColumn
Class: Simulink.dialog.parameter.CustomTable
Namespace: Simulink.dialog.parameter
Insert a column at a specific position in the custom table
Syntax
tableControl.insertColumn(columnIndex[Name,Value])
Description
inserts a column with the specified properties at a specified index in a custom table.tableControl
.insertColumn(columnIndex
[Name,Value
])
Input Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Insert a column at the fifth position. tableControl.insertColumn(5,'Name', 'HDL Name', 'Type', 'edit');
Version History
Introduced in R2019a