Before version 7.5.3, the code generated for actions on exit was not put in the correct location in the generated code. This has been corrected in the current version. In order to maintain the previous code generation behavior for older models, a property called [lang]_CG::Statechart::GenerateActionOnExitOrderForNestedStatechartOldWay has been added to the backward compatibility profiles for 7.5.3 with a value of True.
Code generation for ports and flow ports has been optimized, relative to the code generated in previous versions. A new property named OptimizeCode has been added with a default value of True. In the C++ and Java backward compatibility profiles, the value is set to False so that the old code generation mechanism will be used for ports and flow ports in older models.
Before version 7.5.3, you could control the order of struct and union members in generated code only by modifying the value of the CG::Class::AttributesAutoArrange property, which controlled both the order of class attributes and the order of struct and union members. In 7.5.3, the CG::Type::AttributesAutoArrange property was added to allow users to control the order of struct and union members in generated code regardless of the setting used for class attributes. In order to provide the previous code generation behavior for older models, a new property, CG::Type::UseClassOrderSetting, was added to the backward compatibility profiles for 7.5.3. When UseClassOrderSetting is set to True, the order of struct and union members is controlled by the value of the CG::Class::AttributesAutoArrange property rather than the value of the CG::Type::AttributesAutoArrange property.
To increase MISRA compliance: