Main Content

setActionEnable

Set status for check action

Description

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

This function 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 Model Advisor 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.

Version History

Introduced in R2006a