Main Content

Simulink.ModelAdvisor.reportExists

Determine whether Model Advisor report exists for model or subsystem

Description

Use the exists = Simulink.ModelAdvisor.reportExists(system) method to determine whether a Model Advisor report exists in the slprj/modeladvisor subfolder of the MATLAB working folder.

Input Arguments

collapse all

Model or subsystem for which you want to determine whether a Model Advisor report exists.

Output Arguments

collapse all

Boolean value that indicates whether Model Advisor report exists. A value of 1 indicates that the report exists. A value of 0 indicates that the report does not exist.

Version History

Introduced in R2006a