addColumn
Description
addColumn( adds a column to the
spreadsheet, spreadsheet)spreadsheet, in the Safety Analysis
Manager.
addColumn(
adds a column or columns to the spreadsheet using one or more name-value arguments.spreadsheet,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Limitations
After you create the column, you cannot programmatically change the column type. To create a column with a different type, delete the column with the
deleteColumnfunction and add a new column.
Tips
Add a column to the leftmost side of the spreadsheet by setting
Positionto1.Add a column to the rightmost side of the spreadsheet by setting to the value of
Positionto theSpreadsheetobjectColumnsproperty plus1or by omitting thePositionname-value argument.
Version History
Introduced in R2023b