Borrar filtros
Borrar filtros

Matlab coder : static library with debug information

4 visualizaciones (últimos 30 días)
p fontaine
p fontaine el 6 de Ag. de 2012
How do I build a static library (.lib) with debug information using the coder project tool ?
I am using Matlab R2012a on Windows with Microsoft SDK

Respuesta aceptada

p fontaine
p fontaine el 6 de Ag. de 2012
set DEBUG_BUILD=1 in the .tmf file used to generate the makefile
For Visual C++ this is
"R2012a\toolbox\coder\rtw\c\xrt\xrt_vc.tmf"
This file path can be found in the file "rtw_proj.tmw" located in the last generated code directory

Más respuestas (1)

p fontaine
p fontaine el 6 de Ag. de 2012
set DEGBUG_BUILD = 1 in the makefile produced by Matlab Coder
It is necessary to manually edit the generated makefile ... so it must be done after every code (re)generation
Is there a way to do it before code generation so as to avoid to do it repeatedly ?

Categorías

Más información sobre Build Configuration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by