Change in Internal Struct Names in Generated Code

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

Hi, can you please provide the code and more details to look at the issue?

댓글을 달려면 로그인하십시오.

답변 (0개)

제품

릴리스

R2019a

질문:

2023년 5월 31일

댓글:

2023년 6월 2일

Community Treasure Hunt

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

Start Hunting!

Translated by