Debug mode in code with blocks(cells)
이전 댓글 표시
Hi, I often use blocks (cells?) (%%) in my programm. When I want to debug,say,third block, I insert breakpoint somewhere in this block. But I cannot evaluate (with ctrl+enter) until breakpoint. Is there a way to use breakpoints and not to evaluate all cells of the program each time?
채택된 답변
추가 답변 (1개)
Per Pettersson
2021년 5월 27일
편집: Per Pettersson
2021년 5월 27일
0 개 추천
Another workaround is to temporarily put the contents of the cell in a separate script file, test_cell.m and call this from you original script, this allows you to set break points.
카테고리
도움말 센터 및 File Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!