This 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.
Call the ModelAdvisor.run
function:
SysResultObjArray = ModelAdvisor.run({'sldemo_auto_climatecontrol/Heater Control'},... 'Configuration','slvnvdemo_mdladv_config.mat');
Save the SystResulObj
for use at
a later time:
save my_model_advisor_run SysResultObjArray
Clear the workspace to simulate viewing the results at a different time:
clear
Load the results of the Model Advisor run:
load my_model_advisor_run SysResultObjArray
View the results in the Model Advisor:
viewReport(SysResultObjArray{1},'MA')