How to close autosar updater report with programming script?

조회 수: 1 (최근 30일)
sasaki
sasaki 2024년 6월 7일
편집: Walter Roberson 2024년 7월 8일
hello guys,i update my autosar model by updateModel(ar,modelName). At the end of update process, a updater report will be opened. I want to close this report by m-scripts.It will be generous of you to provide me api name to complete this function.
Best regard

답변 (1개)

Jinal
Jinal 2024년 6월 13일
편집: Jinal 2024년 6월 13일
Hi Sasaki,
You can make use of MATLAB's 'closeReport' function to programmatically close the update report that opens after updating the model.
Adding a sample code snippet for your reference:
modelAdvisor1 = Simulink.ModelAdvisor.getModelAdvisor('Model Name');
closeReport(modelAdvisor1);
For more information on 'closeReport', kindly refer the following documentation page: https://www.mathworks.com/help/releases/R2022b/simulink/slref/simulink.modeladvisor.closereport.html
  댓글 수: 1
sasaki
sasaki 2024년 7월 8일
편집: sasaki 2024년 7월 8일
Hi Jinal
I really appreciate you for answering my question. But sadly, it doesn't seem to work. Maybe the reason is that the autosar update report doesn't belong to modeladvisor.
Thank you so much for taking the time to answer my question. And I'm truly grateful for your support.Hope you have a nice day.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 AUTOSAR Blockset에 대해 자세히 알아보기

태그

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by