addRow
Description
addRow( adds a row to the
spreadsheet, spreadsheet)spreadsheet, in the Safety Analysis
Manager.
addRow(
adds a row or rows to the spreadsheet using one or more name-value arguments.spreadsheet,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Tips
Add a row to the top of the spreadsheet by setting
indexto1.Add a row to the bottom of the spreadsheet by setting
indexto the value of theSpreadsheetobjectRowsproperty plus1, or by omitting thePositionname value argument.This function does not return a
SpreadsheetRowobject. To retrieve theSpreadsheetRowobject of the row you add, use thegetRowfunction on theSpreadsheetobject with the index that you specify in thePositionname-value argument. (since R2024b)
Version History
Introduced in R2023b