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
Tips
Add a row to the top of the spreadsheet by setting
index
to1
.Add a row to the bottom of the spreadsheet by setting
index
to the value of theSpreadsheet
objectRows
property plus1
, or by omitting thePosition
name value argument.This function does not return a
SpreadsheetRow
object. To retrieve theSpreadsheetRow
object of the row you add, use thegetRow
function on theSpreadsheet
object with the index that you specify in thePosition
name-value argument. (since R2024b)
Version History
Introduced in R2023b