runTask

Run currently selected tasks

Description

The success = runTask(ma) method runs selected Model Advisor tasks. Invoking this method is equivalent to the Run Selected Checks button on the Model Advisor.

Input Arguments

collapse all

Simulink.ModelAdvisor object for which you want to run the Model Advisor.

Output Arguments

collapse all

Boolean value that indicates whether the Model Advisor ran on the selected tasks. A value of 1 indicates that the Model Advisor successfully ran on the selected tasks. A value of 0 indicates that the Model Advisor did not run on the selected tasks.

Introduced in R2006a