Main Content

ModelAdvisor.lookupCheckID

Look up current Model Advisor check ID for legacy Model Advisor check ID

    Description

    NewID = ModelAdvisor.lookupCheckID(OldCheckID) returns the current Model Advisor check ID, NewID, for the legacy Model Advisor check ID specified by OldCheckID.

    example

    Examples

    collapse all

    Use the legacy check ID "mathworks.iec61508.OutportRange" to find the current Model Advisor check ID.

    In release R2018a and earlier, the check ID for the Model Advisor check Check for root Outports with missing range definitions was "mathworks.iec61508.OutportRange".

    Use the ModelAdvisor.lookupCheckID function to return the current Model Advisor check ID for the check.

    currentID = ModelAdvisor.lookupCheckID("mathworks.iec61508.OutportRange")
    currentID =
    
        'mathworks.hism.hisl_0026'

    Input Arguments

    collapse all

    Legacy identifier of a Model Advisor check, specified as a character vector or string scalar.

    Example: "mathworks.do178.himl_0002"

    Data Types: char | string

    Output Arguments

    collapse all

    Current identifier of a Model Advisor check, returned as a character vector.