Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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');
Was this topic helpful?