Filter löschen
Filter löschen

MATLAB Coder GUI - how to build dll with debug symbols?

5 Ansichten (letzte 30 Tage)
Richard
Richard am 29 Sep. 2016
Beantwortet: Ji Lee am 7 Okt. 2016
I'm using the MATLAB Coder GUI to build a dll and I'm working on debugging the results. To add debug symbols, I hacked the MATLAB generated make file to add the '-g' option to the CFLAGS line. What option in the MATLAB Coder GUI would do this for me?

Antworten (1)

Ji Lee
Ji Lee am 7 Okt. 2016
The "-g" equivalent for non-MEX (e.g. DLL) build types in the MATLAB Coder app is setting the Build Configuration setting to Debug. The exact location of this setting will vary somewhat depending on what release you are using. From R2015b onwards, this setting is found on the Hardware tab of the app's settings dialog on the Generate Code step. To get to this dialog, click the More Settings button on the Generate dropdown. In R2015a, this setting is found on the Toolchain tab of the same dialog.

Kategorien

Mehr zu MATLAB Coder finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by