how to automatically get the results from Model Advisor's report
이전 댓글 표시
Hello everyone
I need to perform some tests on severals blocks, my advisor of my intership advised me to use Model Advisor
I found a way to automaticaly run the M.A to perform the tests but I cannot find a way to get the results of all tests.
I'm capable to read only one test at time by getCheckResult(id), but I'm looking for a command to get an overall result like "1 test failed on 24"
hereafter you can find the code that I use to launch the Model Advisor
MdlAdvHandle = Simulink.ModelAdvisor.getModelAdvisor(ModelName,'new');
MdlAdvHandle.selectCheckAll;
MdlAdvHandle.runCheck;
%Affichage du rapport de Model Advisor
MdlAdvHandle.displayReport;
result = MdlAdvHandle.getCheckResult('Check solver for code generation');
Do you know if there is way to automatically get the results of all tests carried out by M.A ?
thanks for reading
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Check Model Compliance에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!