Main Content

deleteCallback

Delete custom callback from Safety Analysis Manager spreadsheets

Since R2024a

Description

deleteCallback(spreadsheet,callback) deletes the custom callback, callback, from the Safety Analysis Manager spreadsheet, spreadsheet.

example

Examples

collapse all

Create a new spreadsheet in the Safety Analysis Manager.

mySpreadsheet = safetyAnalysisMgr.newSpreadsheet;

Add a custom callback named myCustomCallback to the spreadsheet.

addCallback(mySpreadsheet,"myCustomCallback")

Delete the custom callback.

deleteCallback(mySpreadsheet,"myCustomCallback")

Input Arguments

collapse all

Spreadsheet in the Safety Analysis Manager, specified as a Spreadsheet object.

Custom callback, specified as a string scalar or character vector.

Data Types: char | string

Version History

Introduced in R2024a