フィルターのクリア

Create AUTOSAR implementation data type with category DATA_REFERENCE

6 ビュー (過去 30 日間)
Jeevan K C
Jeevan K C 2024 年 1 月 19 日
回答済み: Ashutosh Thakur 2024 年 6 月 18 日
In Simulink, using classic AUTOSAR architecture composer. How to make a pointer data type, which can be finally assigned to a senderreceiver interface.
Finally I would like to send the address of a strcutre as a port. We have option to do this in ARXML if written manually as below. But how to do it in SIMULINK?

回答 (1 件)

Ashutosh Thakur
Ashutosh Thakur 2024 年 6 月 18 日
Hi Jeevan,
The pointer data type is not directly supported in Simulink; you might have to create a custom data type to achieve this. However, you can try using arxml.importer to import the ARXML file into a Simulink component and check whether the consistency is maintained. You can refer to the following link for using arxml.importer: https://www.mathworks.com/help/autosar/ref/arxml.importer.html.
To send the address of a structure as a port, you can try using the AUTOSAR dictionary to set up the port parameter in the Sender-Receiver interface. The following link can be leveraged for configuring port parameters: https://www.mathworks.com/help/autosar/ug/configure-autosar-parameter-communication.html.
Additionally, you can try leveraging arxml.importer to check whether the consistency is maintained or not.

カテゴリ

Help Center および File ExchangeAUTOSAR Blockset についてさらに検索

製品


リリース

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by