Main Content

ModelAdvisor.Check.getID

R2026b

Return check identifier

Description

id = getID(check_obj) returns the unique identifier id of the check accessed by the check_obj object.

Examples

collapse all

This example shows how to obtain the unique identifier of a Model Advisor check object.

Create a Model Advisor check object.

checkobj_1 = ModelAdvisor.Check('com.mathworks.myUniqueCheck');

Get the unique identifier of the check.

id = getID(checkobj_1)
id =
 'com.mathworks.myUniqueCheck'

Input Arguments

collapse all

Model Advisor check object, specified as a ModelAdvisor.Check object.

Output Arguments

collapse all

Unique identifier of the check, returned as a character vector or string scalar.

Example: com.mathworks.sampleCheck

Version History

Introduced in R2008a