Reputation: 1
When I execute arxml.importer('file.arxml'), I get the following error warning, over and over:
The file "path\file.arxml" contains: Warning: AUTOSAR CompuMethod with LINEAR scaling is not allowed for implementation data type in path/file.arxml:260343. CompuMethod scaling will be ignored.
I'm not actually getting any data from the file. I'm not too familiar with arxml files, I usually work with dbcs. What is the issue here? What am I doing wrong?
I installed the matlab extension AUTOSAR blockset and I tried executing arxml.importer('file.arxml'), but I'm not getting any data.
Upvotes: -1
Views: 126
Reputation: 1496
The file "path\file.arxml" contains: Warning: AUTOSAR CompuMethod with LINEAR scaling is not allowed for implementation data type in path/file.arxml:260343. CompuMethod scaling will be ignored.
It states it pretty well.
According to AUTOSAR_TPS_SoftwareComponentTemplate chapter 5.5.1.3 "CompuMethod and AutosarDataTypes" and subchapters, an ImplementationDataType can only have CompuMethods of category TEXTTABLE and BITFIELD_TEXTTABLE assigned to it, as defined there in constraint [constr_1158].
You would actually need an ApplicationDataType where you can assign LINEAR (and other categories of) CompuMethods. And then use a DataTypeMappingSet to map a ApplicationDataType to an ImplementationDataType.
How this is or can be done in Matlab I don't know, since I do not use MatLab.
Upvotes: 0