Class: Simulink.dialog.parameter.CustomTable
Package: Simulink.dialog.parameter
Add new column in the custom table
tableControl.addColumn(Name, Value)
adds a column with the specified properties in the custom table.tableControl.addColumn(Name, Value)
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Add column. tableControl.addColumn( 'Name', 'HDL Name', 'Type', 'edit' );