Main Content
SpreadsheetCell
Description
SpreadsheetCell
objects represent cells in spreadsheets in the Safety Analysis
Manager. Use SpreadsheetCell
objects to configure spreadsheet cell
properties you use in safety analyses.
Creation
To create a SpreadsheetCell
object:
Use the
getCell
function on aSpreadsheet
object.Select a cell in a Safety Analysis Manager spreadsheet and use the
safetyAnalysisMgr.getCurrentSelection
function.Use the
getCell
function on aSpreadsheetRow
object. (since R2024b)
Properties
Object Functions
acceptAllChanges | Accept detected changes to linked artifacts in Safety Analysis Manager |
addFlag | Add flag to Safety Analysis Manager spreadsheet cell or row |
addReference | Add references to cells |
clearFlags | Clear flags in Safety Analysis Manager spreadsheet |
getChanges | Get changed artifacts linked to artifacts in Safety Analysis Manager |
getFlags | Retrieve flags from Safety Analysis Manager spreadsheets |
getLinks | Get links associated with spreadsheet cell or row in Safety Analysis Manager |
getReferencedValues | Get referenced cell values |
getReferences | Get referenced cells |
getRow | Retrieve spreadsheet rows |
getSpreadsheet | Retrieve spreadsheet containing specified cell |
moveReference | Change order of references |
removeReference | Remove references in Safety Analysis Manager spreadsheets |
Examples
Limitations
The
SpreadsheetCell
objects that you use is derived column formulas are read-only.