User`s guide
Archive and View Model Advisor Run Results
23-13
Archive and View Model Advisor Run Results
The following example guides you through archiving the results of running checks so that
you can review them at a later time. To simulate archiving and reviewing, the steps in
the tutorial detail how to save the results, clear out the MATLAB workspace (simulates
shutting down MATLAB), and then load and review the results.
1
Call the ModelAdvisor.run function:
SysResultObjArray = ModelAdvisor.run({'sldemo_auto_climatecontrol/Heater Control'},...
'Configuration','slvnvdemo_mdladv_config.mat');
2
Save the SystResulObj for use at a later time:
save my_model_advisor_run SysResultObjArray
3
Clear the workspace to simulate viewing the results at a different time:
clear
4
Load the results of the Model Advisor run:
load my_model_advisor_run SysResultObjArray
5
View the results in the Model Advisor:
viewReport(SysResultObjArray{1},'MA')