Debugging C-Mex function
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
I struggle to use a debugger for the C-mex S function as described here:
I am using the mingw-gcc as compiler to create the mex file. Everything goes well (I can connect to the Matlab process and resume it) until when I am running the Simulink S function the breakpoints do not work.
The following versions are used:
- gdb-7.5-tdm64-1 for debugging installed with TDM-GCC Compiler Suite for Windows (GCC 4.7 Series mMinGW-w64 64/32-bit Edition);
- Eclipse version: 2019-03 (4.11.0);
- Matlab 2018b Update4.
Do you have any idea about what might be the cause of the described behavior? Does Mathworks have a proprietary tool to debug C-mex files?
0 Commenti
Risposte (0)
Vedere anche
Categorie
Scopri di più su MATLAB Support for MinGW-w64 C/C++ Compiler in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!