Simulink AUTOSAR - Units for interfaces not defined in ARXML files
4 次查看(过去 30 天)
显示 更早的评论
I have created an AUTOSAR SWC in Simulink and have defined several S/R interfaces as busses. However in the generated ARXML files there are no units defined even though I defined them in the type editor:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1206303/image.png)
This is how these interfaces are defined in the datatype ARXML:
1) Implementation type:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1206308/image.png)
The referenced data type "Float" does not have any unit:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1206313/image.png)
2) Application type:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1206318/image.png)
The referenced data type "Float" references compu and constraints:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1206323/image.png)
The compu references "NoUnit":
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1206328/image.png)
Also the contraints references "NoUnit":
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1206333/image.png)
How do I get the units that I defined in the Type editor to show up in the ARXML files?
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 AUTOSAR Blockset 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!