主要内容

getCustomCallbackNames

R2026b

Retrieve names of custom callbacks in Safety Analysis Manager documents

Since R2026b

Description

names = getCustomCallbackNames(document) returns the custom callback names from the Safety Analysis Manager document, document.

example

Examples

collapse all

Suppose that you have one open Safety Analysis Manager spreadsheet or fault tree document. Retrieve the Spreadsheet or FaultTreeDocument object.

myDocument = safetyAnalysisMgr.getOpenDocuments;

Get the names of the custom callbacks.

myCustomCallbackNames = getCustomCallbackNames(myDocument);

Input Arguments

collapse all

Safety Analysis Manager document, specified as a Spreadsheet or FaultTreeDocument object.

Output Arguments

collapse all

Custom callback names, returned as string array.

Version History

Introduced in R2026b