How do I debug a .m -> .mex file in Visual Studio

I've seen answers explaining how to debug a mex file generated using the mex command (e.g., mex -g yprime.c). I'd like to debug a .mexw64 file that was generated using codegen.
TIA.

 採用された回答

Gaurav Garg
Gaurav Garg 2020 年 8 月 11 日

0 投票

Hi Arthur,
I hope you are using 64-bit version of Windows OS and a 64 bit version of MATLAB to execute. Debugging mexw64 would be same as debugging mex file. Kindly refer to the documentation here or here.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB Coder についてさらに検索

質問済み:

2020 年 8 月 5 日

回答済み:

2020 年 8 月 11 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by