force variable names in codegen

12 visualizaciones (últimos 30 días)
ido Roth
ido Roth el 18 de Abr. de 2016
Respondida: Joachim Schlosser el 18 de Abr. de 2016
Is there a way to force the codegen app to create the C variables with names of myy own choice (rather than the codegen's choice. Specifically, I have a matlab struct that is used an input to a function. When I use codegen to convert teh function into C it creates a typedef of my struct with a name such as struct0_T. I would like to change the struct name to a name of my choice directly from the codegen app. Any ideas? thanks.

Respuestas (1)

Joachim Schlosser
Joachim Schlosser el 18 de Abr. de 2016

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by