Help Center
Obtain Model Advisor check result status
status = getCheckResultStatus(ma,checkID)
After running a set of checks, use the status = getCheckResultStatus(ma,checkID) function to determine whether these checks passed or failed.
status
ma
checkID
collapse all
Simulink.ModelAdvisor
Simulink.ModelAdvisor object for which you want to determine whether a check or set of checks passed or failed.
character vector
cell array of character vectors
Model Advisor Check IDs for which you want to obtain results.
Example: 'mathworks.design.UnconnectedLinesPorts'
Boolean
Boolean value or cell array of Boolean values indicating the pass or fail status of a check or set of checks.
Introduced in R2006a
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
Europe
Asia Pacific
Contact your local office