MATLAB: Are naming rules not applied to MPT data objects in generated code when the language option selected is ‘C++ (Encapsulated)’ in Embedded Coder 6.3 (R2012b)

Embedded Coder

I would like to generate code from my model using the default ERT target. In doing that, I would like to enforce the 'Force upper case' naming rule specified under 'Configuration Parameters > Code Generation > Symbols > Simulink data object naming rules' to signals in my model. However, the signal naming rules are not applied globally when the language option is set to 'C++ (Encapsulated)'.

Best Answer

There is a bug in the way that naming rules are not applied to MPT data objects when the language option is set to 'C++ (Encapsulated)' in Embedded Coder 6.3 (R2012b). There are no workarounds.