Create an Application object and run Model
Advisor analysis.
Create an Application object.
app = Advisor.Manager.createApplication();
Open the model and set the root analysis to
RootModel.
% Open the model
openExample('sldemo_mdlref_basic');
% Set root model to sldemo_mdlref_basic model
RootModel = 'sldemo_mdlref_basic';
% Set the Application object root analysis
setAnalysisRoot(app,'Root',RootModel);
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.