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

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에 대해 자세히 알아보기

제품

태그

질문:

2017년 6월 27일

댓글:

2020년 3월 25일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by