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

6 Ansichten (letzte 30 Tage)
Arthur Newman
Arthur Newman am 5 Aug. 2020
Beantwortet: Gaurav Garg am 11 Aug. 2020
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.

Akzeptierte Antwort

Gaurav Garg
Gaurav Garg am 11 Aug. 2020
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.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Code Analysis finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by