How do I deploy a DDS model to my Linux Target using "Embedded Coder Support Package for Linux Applications"?

How can I deploy a DDS model as a standalone application to my Linux Target using "Embedded Coder Support Package for Linux Applications"?

 采纳的回答

Deploying DDS models to Linux Target is supported since R2023a for vendors eProsima & RTI Connext. In R2023b, we added additional support for the Cyclone DDS toolchain.
Follow the steps below to deploy the 'shapesdemo' DDS example model to Linux Target:
1. Open the 'shapesdemo' DDS example using the following command:
>> shapesdemo
2. Open Model Settings > Hardware Implementation > Hardware Boards and select:
"Embedded Coder Linux Docker Container".
3. Go to Model Settings > Code Generation. Notice that System Target File is set to "ert.tlc". Select the desired DDS toolchain ("eProsima 2.x Project", "RTI Connext", or "Cyclone DDS").
4. Save the 'shapesdemo' model.
5. Create & Deploy 'shapesdemo' through Linux Runtime Manager as shown here:https://www.mathworks.com/help/releases/R2023a/autosar/ug/posix_getstarted_example.html
6. Optional: Install the RTI Shapes Demo (https://www.rti.com/free-trial/shapes-demo) on the Linux machine. Publish (blue) squares and subscribe to (red) circles.
7. Run 'shapesdemo' model in Linux Runtime Manager, and observe circles in RTI Shapes Demo.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with DDS Blockset 的更多信息

产品

版本

R2023a

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by