Debugging using external editor
8 ビュー (過去 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!