Why is the arxml.importer telling me that "Type Reference" is a unsupported category for "Implementation data type"

3 views (last 30 days)
Hi, I am trying to import a arxml file into matlab 2016a and then simulink but the importer gives me this error message:
Implementation data type in file [...] uses unsupported category "TYPE_REFERENCE".
I thought that since 2015b this is fixed, at least it says that here: https://de.mathworks.com/matlabcentral/answers/251500-what-is-new-in-the-embedded-coder-support-package-for-autosar-in-r2015b-15-2-1

Answers (1)

Ayush
Ayush on 28 Nov 2024
Hi @Nic
ImplementationDataType of category TYPE_REFERENCE are only supported with BaseType as ImplementationDataType with category VALUE, REFERENCE and DATA_REFERENCE.
However, ImplementationDataType of category TYPE_REFERENCE are not supported with BaseType as ImplementationDataType with category ARRAY, STRUCTURE.
As a workaround, untill R2016b release, you can use ImplementationDataType of category ARRAY or STRUCTURE directly rather than using it via TYPE_REFERENCE.

Community Treasure Hunt

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

Start Hunting!