Run currently selected tasks
The
method runs selected Model Advisor tasks. Invoking this method is equivalent to the
Run Selected Checks button on the Model Advisor.success
= runTask(ma
)
If you have a Simulink®
Check™ license, consider using the ModelAdvisor.run
(Simulink Check) function or the Advisor.Application
(Simulink Check)
run
(Simulink Check) method instead of the Simulink.ModelAdvisor
runCheck
or runTask
functions.
Consider using Advisor.Application
class if you have a large model with
subsystems and model references. Advisor.Application
does not run checks on
library models. If you want to run checks on multiple independent models that are not in a
model reference hierarchy or you want to leverage parallel processing, use
ModelAdvisor.run
to run Model Advisor checks on your model.