- Suppress Output and Warnings: Ensure that any output or warnings are suppressed to reduce the focus shift caused by the Model Advisor.
- Batch Processing: Use a script to automate the process and reduce manual intervention. This won't hide the progress bar but can streamline the process.
- Use MATLAB's Command Window: Run the Model Advisor checks from the command line without opening the Simulink model in the GUI.
How to run Model Advisor in invisible mode?
2 次查看(过去 30 天)
显示 更早的评论
Hello Everyone,
I need to run model advisor on large number of models one by one. I can open each simulink model in invisible mode by using load_system(). After that using Simulink.ModelAdvisor.getModelAdvisor(MdlName) and so on.. I can run model advisor using this. But while running checks it opens up progress bar indicating model advisor being run and it gets focused for each model. Is it possible to run these model advisor checks in background/invisible mode.
Thanks for your replies.
0 个评论
回答(1 个)
arushi
2024-8-22
Hi Mahibub,
Running Model Advisor checks on multiple Simulink models without the progress bar stealing focus can be a bit challenging, as MATLAB's Model Advisor is designed to provide feedback via the GUI. However, you can attempt to minimize the disruption by using a few strategies, though completely hiding all GUI elements might not be possible directly through built-in functions.
Strategies to Run Model Advisor in Background
Hope this helps.
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!