User`s guide
Finding Check IDs
23-3
Finding Check IDs
An ID is a unique string that identifies a Model Advisor check. You find check IDs in the
Model Advisor, using check context menus.
To Find... Do This...
Check Title, ID, or location
of the MATLAB source
code
1
On the model window toolbar, select Settings > Preferences.
2
In the Model Advisor Preferences dialog box, select Show Source
Tab.
3
In the right pane of the Model Advisor window, click the Source
tab. The Model Advisor window displays the check Title, TitleId,
and location of the MATLAB source code for the check.
Check ID
1
In the left pane of the Model Advisor, select the check.
2
Right-click the check name and select Send Check ID to
Workspace. The ID is displayed in the Command Window and
sent to the base workspace.
Check IDs for selected
checks in a folder
1
In the left pane of the Model Advisor, select the checks for which
you want IDs. Clear the other checks in the folder.
2
Right-click the folder and select Send Check ID to Workspace.
An array of the selected check IDs are sent to the base workspace.
If you know a check ID from a previous release, you can find the current check ID
using the ModelAdvisor.lookupCheckID function. For example, the check ID for
By Product > Simulink Verification and Validation > Modeling Standards >
DO-178C/DO-331 Checks > Check safety-related optimization settings prior to
Release 2010b was DO178B:OptionSet. Using the ModelAdvisor.lookupCheckID
function returns:
>> NewID = ModelAdvisor.lookupCheckID('DO178B:OptionSet')
NewID =
mathworks.do178.OptionSet
Note: If the By Product folder is not displayed in the Model Advisor window, select
Show By Product Folder from the Settings > Preferences dialog box.