Q1.
I'm using trial version of MATLAB and i try to use model advisor recently. There are two ways to analysis model using Model Advisor.
One way is analysis model by Model Advisor GUI, the other one is using matlab command line like Simulink.ModelAdvisor.getModelAdvisor('sldemo_mdladv')
But, each way's result are different each other. After that, I found another matlab command 'ModelAdvisor.run' that can't run because don't have a Simulink checks license while I try to search why they are different.
I want to know what is different between ModelAdvisor.run and Simulink.ModelAdvisor.
Q2.
Why i can't print same result with Model Advisor GUI's result by Model Advior's command line?
In Model Advisor GUI, I check all checkbox in By Product, By Task. In MATLAB command line, I run script:
load_system('sldemo_mdladv');
handler = Simulink.ModelAdvisor.getModelAdvisor('sldemo_mdladv');
handler.selectCheckAll;
handler.runCheck
The report don't contain all of check. Report contain just 20~30 checks. Even, some checks don't run any error:
Too many input arguments.
This type of variable does not support point indexing.
This type of variable does not support point indexing.
But, In report made by Model Advisor GUI, there are not fail. Why these are different?