MATLAB: Embedded Coder 2019b settings: Randomized file ending in typedef

code generationcoder settingsEmbedded Coderrandomrandom number generatortypdef

Hello all,
I am doing coding with embedded coder 2019b and in header files in typedef structs, the variable endings are extended randomized with characters, like:
typedef struct {
LoadManagement Loadmanagement_g;
HardwareInputs HardwareInputs_o;
}ExtU_Interfaces_Project1_T;
Does anybody know how to deactivate the file ending? Or change the setting to make it not randomized?
The problem is, that with every code generation, the ending has a different character, which makes it unusable for compiling it later on in the projects.
Thanks in advace.

Best Answer

You can set auto-generated identifier naming rules in your 'Configuration Parameters' window, under 'Code Generation' then 'Symbols'. The token for those suffixes are I believe $M where M stands for Mangle.
More info here.