Simulink/Autosar: Unsupported m3iType class M3I.Object for addReferencedType
Show older comments
I try to build a Simulink/Autosar system with SystemComposer.
During "Code and ARXML export" I get the following error message:
The call to autosar_make_rtw_hook, during the after_tlc hook generated the following error:
Unsupported m3iType class M3I.Object for addReferencedType.
The build process will terminate as a result.
Caused by:
Unsupported m3iType class M3I.Object for addReferencedType.
What does this error message mean?
Is there any information available to what this error relates to?
What are situations where such an error might occure?
To what part of Simulink/Autosar is this related?
What is a m3iType and where is it used?
Answers (2)
Kausthub
on 28 Mar 2024
Hi Attila,
A workaround for this issue would be to remove the synthesized AUTOSAR datatypes from the dictionary. For this you can use "AUTOSARProperties" to delete references that could not be removed.
arProps = autosar.api.getAUTOSARProperties("Interfaces.sldd")
arProps.delete("referencePath")
Hope this help!
Eloi
on 26 Nov 2025
0 votes
sldd is a compressed file, if you open it with 7z (for example) you can access the files inside
Categories
Find more on AUTOSAR Blockset in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!