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
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
deleteColumn
function and add a new column.
Tips
Add a column to the leftmost side of the spreadsheet by setting
Position
to1
.Add a column to the rightmost side of the spreadsheet by setting to the value of
Position
to theSpreadsheet
objectColumns
property plus1
or by omitting thePosition
name-value argument.
Version History
Introduced in R2023b