Main Content
insertRow
Class: Simulink.dialog.parameter.CustomTable
Namespace: Simulink.dialog.parameter
Insert a row at a specific position in a custom table
Syntax
InsertedRow = tableControl.insertRow(rowIndex,string1,string2)
Description
inserts a row with specified properties at the specified index in a custom table.InsertedRow
= tableControl
.insertRow(rowIndex
,string1
,string2)
Input Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Insert Row. tableControl.insertRow(rowIndex,'insertSig4',... 'Input','Inherit','Inherit','on','Inherit');
Version History
Introduced in R2019a