Set severity of check failure
This method enables you to access custom checks that you create by using the Model Advisor customization API, an optional feature that is available with Simulink® Check™ software. For more information, see Define Your Own Custom Model Advisor Checks (Simulink Check).
ma— Model Advisor object
Simulink.ModelAdvisor object for which you want to set the check
error severity for the currently running check.
value— Integer indicating severity of failure
A value of 0 indicates a warning check result. A value of 1 indicates a failed check result.