Create custom checks
check_obj = ModelAdvisor.Check(check_ID)
check_obj = ModelAdvisor.Check(check_ID) creates a check object, check_obj, and assigns it a unique identifier, check_ID. check_ID must remain constant. To display checks in the Model Advisor tree, checks must have an associated ModelAdvisor.Task or ModelAdvisor.Root object.
Note: 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.