Set result data for currently running check
function to set the check result data for the currently running check. Only the callback
function of a check can invoke this function.
success = setCheckResultData(
This function enables you to access custom checks that you create with the Model Advisor customization API, an optional feature that is available with Simulink® Check™ software. For more information, see Define Custom Model Advisor Checks (Simulink Check).
ma — Model Advisor object
Simulink.ModelAdvisor object for which you want to set result
data for the currently running check.
data — Result data
cell array of character vectors
Result data that you specify for a custom check.
Boolean value indicating whether result data is set
Boolean value that indicates whether the Model Advisor
successfully set result data for the currently running check. A value of
1 indicates that the Model Advisor successfully set the data. A
0 indicates that the Model Advisor did not set the
Introduced in R2006a