How to stop simulink build after first error?
이전 댓글 표시
I have a large Simulink project that is slow to build on a new high end gaming desktop. When I press the green "Run" button in Simulink and an error is found, I can see the error readout in the "Diagnostic Viewer" but Matlab prevents me from starting to fix the error (edit the code) until the build finishes. However, the build can take another minute before it finally stops, even though I know it will fail. This is a waste of my time, and I would like the ability to stop the build after the first error is found so I can fix it faster (and overall work faster). Any thoughts? Thanks!
댓글 수: 1
Hugo Lambert
2020년 3월 25일
It is an old post, but it may help someone in need.
To my knowledge there is not proper way to do this. At least I did not find any model configuration to do this.
There is however one trick, but to use sparingly : press manualy " CTLR + C " in the command window of Matlab to stop simulink compilation.
However, this is a hard stop, it is not a clean way. After some times, Matlab may crashes unexpedly.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Using MATLAB Projects in Simulink에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!