View progress of simulation when using sim command
이전 댓글 표시
I am running a simulink model through matlab code using the sim() command. Normally when you run a simulink model you see a nice progress bar on the bottom right, showing you how far the compilation and then at which simulation time step it is. But this is not visible when I use the sim() command. Is there someway to get this information (mainly at which simulation time it is at the moment would be nice to know)?
Thanks!
채택된 답변
추가 답변 (2개)
Brian Ventura
2024년 4월 19일
1 개 추천
Perhaps try the following command instead of sim(modelname)
>> set_param(modelname,'SimulationCommand','start');
Ramon
2017년 1월 18일
0 개 추천
My simulink compiler says that code cannot be generated for matlab function waitbar.
카테고리
도움말 센터 및 File Exchange에서 App Building에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!