addCallback
R2026bDescription
addCallback(
adds a custom spreadsheet,callbackName)AnalyzeFcn callback to the Safety Analysis
Manager spreadsheet, spreadsheet, with the name
callbackName.
addCallback(
adds a custom callback to the Safety Analysis Manager fault tree document,
faultTreeDocument,callbackName)faultTreeDocument. (since R2026b)
Examples
Input Arguments
Tips
The custom callback that you add does not contain code. To add code to the callback, use the
setCallbackfunction.By default, the new custom callback is enabled. Disable or enable the custom callback by using the
enableCallbackfunction.To execute the custom callback, enable the callback and use the
runAnalysisfunction.