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 of the spreadsheet.
myValue = safetyAnalysisMgr.getCurrentSelection
myValue =
SpreadsheetCell with properties:
Row: 2
Column: 2
ColumnLabel: 'Label2'
Value: 'text in cell'
Description: ''
Retrieve Cells from Spreadsheet
Suppose you have a spreadsheet open in the Safety Analysis
Manager, and you select two cells. Retrieve the SpreadsheetCell
object of the spreadsheet.
myValue = safetyAnalysisMgr.getCurrentSelection
myValue =
1×2 SpreadsheetCell array with properties:
Row
Column
ColumnLabel
Value
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.