Advisor.Application Class
Namespace: Advisor
Run Model Advisor across model reference hierarchy and variants
Description
Use instances of Advisor.Application
to:
Run checks on a parent model and its referenced models.
Run checks on both active and inactive variants by specifying the argument
AnalyzeVariants
astrue
.Select or remove specific model components from Model Advisor analysis. Model components are models that the root model references and that
setAnalysisRoot
specifies.
Use the public methods to:
Run Model Advisor using an
Advisor.Application
object.Delete an
Advisor.Application
object.Specify which model components Model Advisor runs on.
Specify which checks Model Advisor runs.
Get results from Model Advisor.
Note
If your model does not use model references or variants, use the function
ModelAdvisor.run
instead.
ModelAdvisor.run
can run Model Advisor checks on models and
subsystems and has the option to run on multiple systems in parallel.
Creation
To create an Advisor.Application
object, use Advisor.Manager.createApplication
.
Properties
Methods
Examples
Limitations
Referenced models only compile when they are out of date and compile-time checks do not run for the referenced models if:
Model references are used in a hierarchy.
Simulation Mode is set to
accelerator
.UpdateModelReferenceTargets is set to
IfOutOfDate
.
Advisor.Application
is unable to run on multiple systems in parallel. If your model does not use model references or variants, use the functionModelAdvisor.run
instead.ModelAdvisor.run
can run Model Advisor checks on models and subsystems and has the option to run on multiple systems in parallel.
Version History
Introduced in R2015b
See Also
Advisor.Manager.createApplication
| generateReport
| getResults
| loadConfiguration
| run
| setAnalysisRoot