setActionEnable

Set status for check action

Description

The setActionEnable(ma, value) method enables or disables the Action box. Only a check callback function can invoke this method.

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 Custom Checks (Simulink Check).

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to set check action status.

Boolean value that indicates whether to enable or disable Model Advisor Action box. To enable the box, specify a value of true. To disable the box, specify a value of false.

Introduced in R2006a