Specify check used in task
setCheck(task, check_ID) specifies the check to use in the task.
You can use one ModelAdvisor.Check object in multiple ModelAdvisor.Task objects, allowing you to place the same check in multiple locations in the Model Advisor tree. For example, Check for implicit signal resolution appears in the By Product > Simulink folder and in the By Task > Model Referencing folder in the Model Advisor tree.
When adding checks as tasks, the Model Advisor uses the task properties instead of the check properties, except for Visible and LicenseName.
Instantiation of the ModelAdvisor.Task class
A unique string that identifies the check to use in the task