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!