How to close autosar updater report with programming script?
3 views (last 30 days)
Show older comments
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
0 Comments
Answers (1)
Jinal
on 13 Jun 2024
Edited: Jinal
on 13 Jun 2024
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
See Also
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!