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

조회 수: 5 (최근 30일)
Arthur Newman
Arthur Newman 2020년 8월 5일
답변: Gaurav Garg 2020년 8월 11일
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일
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개)

카테고리

Help CenterFile Exchange에서 MATLAB Code Analysis에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by