시뮬레이션 중 break 미동작
显示 更早的评论
아래와 같이 시뮬레이션 중인데 break point 걸었는데
해당 구문이 실행 되는데 break 되지 않는 경우는 왜 그런 걸까요?
원래는 됬었는데 갑자기 되지 않습니다.
버전 : 2025b
상황 : 하네스 환경(테스트시퀀스)에서 시뮬레이션 수행

回答(1 个)
Deepak
2026-5-22,13:10
0 个投票
Hi Young,
My understanding about your question is that you are running a simulation and set a breakpoint, but the statement executes without hitting the breakpoint.
I am assuming that it is happening when codegen target is set to slrt.tlc.
However, setting the codegen target to slrt.tlc causes breakpoints to stop working. If you change the tlc to something else the breakpoint will be hit again.
Hope this helps.
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink Coder 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!