Change in Internal Struct Names in Generated Code

1 Ansicht (letzte 30 Tage)
Huzeyfe KILIC
Huzeyfe KILIC am 31 Mai 2023
Kommentiert: Sakshi Sharma am 2 Jun. 2023
Hi
I have several persistent structs in my main file. I generate C++ code from this function.
Each code generation seems to change the names of these structs and substructs created by MTALAB during code generation.
I know you can set entry point struct names with coder.cstructname but this does not set the struct names for structs generated by matlab.
Is there a way to standardise internal struct names so their names dont change after each code generation.
Thanks.
  1 Kommentar
Sakshi Sharma
Sakshi Sharma am 2 Jun. 2023
Hi, can you please provide the code and more details to look at the issue?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Produkte


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by