Main Content


Class: Advisor.Manager
Package: Advisor

Create Advisor.Application object


app = Advisor.Manager.createApplication()
app = Advisor.Manager.createApplication(Name,Value)


app = Advisor.Manager.createApplication() constructs an Advisor.Application object.

app = Advisor.Manager.createApplication(Name,Value) constructs an Advisor.Application object that operates in a temporary working folder.


expand all

Create an Application object and run Model Advisor analysis on the object.

Create an Application object.

app = Advisor.Manager.createApplication();

Open the model and set the root analysis to RootModel.

% Open the model

% Set root model to sldemo_mdlref_basic model
RootModel = 'sldemo_mdlref_basic';

% Set the Application object root analysis

Run Model Advisor analysis.


Input Arguments

expand all

Name-Value Arguments

Specify optional pairs of arguments as Name1=Value1,...,NameN=ValueN, where Name is the argument name and Value is the corresponding value. Name-value arguments must appear after other arguments, but the order of the pairs does not matter.

Before R2021a, use commas to separate each name and value, and enclose Name in quotes.

Example: 'UseTempDir',true specifies that Advisor.Application object operates in a temporary working folder.

Data Types: logical

Output Arguments

expand all

Constructed Advisor.Application object.

Version History

Introduced in R2015b