Configuration of the TMX file properties
You can parameterize the entries in the TMX file (TwinCAT Module Executable) from Simulink®. To do this, switch to Advanced mode:
TwinCAT.ModuleGenerator.Settings.Change('ConfigurationLevel', 'Advanced')
Relationship of TMX properties (left) to parameters in Simulink® (right)
File description -> Description
File Version -> DrvFileVersion
Product name -> ProductName
Product version -> DrvProductVersion
Copyright -> Copyright
Note: $< > describes placeholders. For example, DrvProductVersion is set to the value in DrvFileVersion which in turn gets the value from Version Source File.