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!