addFlag
R2026bSyntax
Description
Spreadsheets
adds a flag to the cell, flag = addFlag(spreadsheetCell,flagType)spreadsheetCell that has the flag
flagType, in a Safety Analysis
Manager spreadsheet.
adds a flag to the specified Safety Analysis Manager spreadsheet row,
flag = addFlag(spreadsheetRow,flagType)spreadsheetRow. (since R2024b)
Fault Tree Documents
adds a flag to the failure model, flag = addFlag(failureModel,flagType)failureModel, in a fault tree
document.
Spreadsheets or Fault Tree Documents
adds a flag to the document element using one or more name-value arguments.flag = addFlag(___,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Limitations
When you close the spreadsheet or fault tree document, the Safety Analysis Manager deletes the flags, even if you saved the document.