Suppose you have a spreadsheet open in the Safety Analysis
Manager, and you select the cell in the second row and second column. Retrieve the
SpreadsheetCell object in the spreadsheet.
myValue = safetyAnalysisMgr.getCurrentSelection
myValue =
SpreadsheetCell with properties:
Row: 2
Column: 2
ColumnLabel: 'Label2'
Value: 'text in cell'
Description: ''
Suppose you have a spreadsheet open in the Safety Analysis
Manager, and you select two cells. Retrieve the SpreadsheetCell
objects in the spreadsheet.
myValue = safetyAnalysisMgr.getCurrentSelection
myValue =
1×2 SpreadsheetCell array with properties:
Row
Column
ColumnLabel
Value
Description
Since R2024b
Suppose you have a spreadsheet open in the Safety Analysis
Manager, and you select two rows. Retrieve the SpreadsheetRow
objects in the spreadsheet.
myValue = safetyAnalysisMgr.getCurrentSelection
myValue =
1×2 SpreadsheetRow array with properties:
Index
Cells
Description
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.