Debugging using external editor
조회 수: 7 (최근 30일)
이전 댓글 표시
How do i set breakpoints for MATLAB function in VS Code, for the time being i have to set breakpoints in MATLAB's editor. I want to be able to set breakpoints in VS code and debug in MATLAB.
댓글 수: 0
답변 (1개)
Vladimir Sovkov
2020년 7월 12일
댓글 수: 2
Vladimir Sovkov
2020년 7월 12일
Yes, this works if your purpose is to call a C program from Matlab.
If, alternatively, you want to turn your Matlab program to C, use the Matlab Coder:
and debug the resulting C codes as regular C codes,
while the initial m-files can be debugged in Matlab the usual way without VS.
참고 항목
카테고리
Help Center 및 File Exchange에서 Software Development Tools에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!