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!