TYPE-EMITTER tag not generated in Adaptive Autosar ARXML from Simulink model

Hi, I’m working on an Adaptive AUTOSAR model in Simulink using version R2025a.
I have followed the AUTOSAR examples and created a Basic Simulink model with Service interface(events and methods). The model compiles and generates ARXML successfully for 20-11 schema. I have added a custom data type structure but the specific <TYPE-EMITTER> element is missing in the generated demo_app_datatype.arxml.
Could someone please clarify when <TYPE-EMITTER> is supposed to appear and how to configure the Simulink model or AUTOSAR Dictionary so that this tag is generated?

Answers (1)

Hi Rangegowda,
I understand you’re not seeing the "<TYPE-EMITTER>" element in your generated ARXML, even after adding a custom data type structure in your Adaptive AUTOSAR Simulink model.
The "<TYPE-EMITTER>" element is typically generated when you define a Simulink data type and explicitly map it to an AUTOSAR data type in the AUTOSAR Dictionary. If you only use the data type within your model (for ports, signals, or parameters) but don’t configure it as an AUTOSAR type, Simulink may not emit "<TYPE-EMITTER>" in the ARXML.
To ensure "<TYPE-EMITTER>" is generated:
  1. Open the AUTOSAR Dictionary and locate your custom data type.
  2. Map your Simulink data type to an AUTOSAR Implementation Data Type or Application Data Type.
  3. Confirm that the data type is referenced by an AUTOSAR port interface or data element.
  4. Regenerate the ARXML.
If the data type is properly mapped and used in an AUTOSAR context, Simulink should generate the "<TYPE-EMITTER>" section in the ARXML output.
Hope this helps!

1 Comment

Hello Ayush,
Thanks for the answer.
I tried following the steps you suggested. however, I could not find any Data Types section in the AUTOSAR Dictionary.I have configured the provided port, service interface, events, and methods in the AUTOSAR Dictionary.
Current configuration:
  • I want to define a method Doorlock that takes a structure data type as an input argument.
  • I created the method under a service interface in the AUTOSAR Dictionary.
  • I created a custom structured data type in a Simulink data dictionary (SLDD) using a Simulink.Bus.
  • I created a Simulink Function block and added an ArgIn port.
  • In the ArgIn port, I selected the structured data type under Signal Attributes.
Even after this configuration, the generated ARXML does not contain the <TYPE-EMITTER> element.
Images for your reference:
Could you please share the exact steps or a MathWorks documentation link that explains how to add or map a custom data type in the AUTOSAR Dictionary for an Adaptive AUTOSAR model?
Thanks in advance for your help.

Sign in to comment.

Categories

Products

Release

R2025a

Asked:

on 2 Dec 2025

Commented:

on 18 Dec 2025

Community Treasure Hunt

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

Start Hunting!