Search This Blog

How to Build a Linux Executable from an AUTOSAR Adaptive Model in Simulink

This video shows how to build a Linux executable from an AUTOSAR adaptive model in Simulink®.

Bus ports enable intuitive modeling of AUTOSAR communication ports, interfaces, and groups of data elements. If you model AUTOSAR ports by using In Bus Element and Out Bus Element blocks, and type the bus ports by using bus objects, then basic properties of AUTOSAR ports, interfaces, and events are configured without using the AUTOSAR Dictionary. AUTOSAR Blockset™ provides Event Send and Event Receive library blocks. Using these library blocks, you can model event-based communication for AUTOSAR adaptive software components.

You can create an adaptive executable from a Simulink model using toolchain “AUTOSAR Adaptive Linux Executable.” The toolchain selection adds ARA (AUTOSAR Runtime for Adaptive Applications) functional cluster libraries provided by MathWorks. As part of generating code for an AUTOSAR adaptive model, you can generate a CMakeLists.txt file for building a Linux standalone executable. Then, on a Linux system, you can build the executable using cmake and make commands. You can run the resulting executable on Linux as a standalone application. Building the executable file from CMakeLists.txt requires running CMake software on a Linux system.

Join us on Telegram:

No comments