Documentation Center

  • Trial Software
  • Product Updates

Contents

ModelAdvisor.Check

Class: ModelAdvisor.Check
Package: ModelAdvisor

Create custom checks

Syntax

check_obj = ModelAdvisor.Check(check_ID)

Description

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.

Examples

rec = ModelAdvisor.Check('com.mathworks.sample.Check1');

See Also

How To

Was this topic helpful?