How to sync progress bar with model simulation in gui?
조회 수: 8 (최근 30일)
이전 댓글 표시
Hi The model i have developed takes few minutes to simulate at a slow pace, some times it is difficult to tell whether it is still in simulation or not. So i have tried to add progress bar to my gui which i did successfully, but i am not able to sync the model simulation and progress bar. Can anyone guide me to solve this problem.
댓글 수: 1
TAB
2012년 6월 18일
Simulink GUI already have a simulation progress bar at the bottom.
Isn't it sufficient ?
답변 (2개)
the cyclist
2012년 6월 16일
This blog post is old, but might have some ideas to help you:
Be sure to see the comments as well. They reference at least one FEX program that might help. This one looks promising (but I haven't tried it myself):
Kaustubha Govind
2012년 6월 21일
You can use Method Execution Event listeners to have the WAITBAR be updated in the PostOutputs callback of one of the blocks in your model. Please see the demo model "sldemo_msfcn_lms" to get an idea of how it updates a plot figure continuously - you can update a WAITBAR similarly.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Dialog Boxes에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!