You are here: Home / RTLWS 1999-2017 / RTLWS Submitted Papers / 
2024-12-03 - 18:05

Dates and Events:

OSADL Articles:

2024-10-02 12:00

Linux is now an RTOS!

PREEMPT_RT is mainline - What's next?


2023-11-12 12:00

Open Source License Obligations Checklists even better now

Import the checklists to other tools, create context diffs and merged lists


2023-03-01 12:00

Embedded Linux distributions

Results of the online "wish list"


2022-01-13 12:00

Phase #3 of OSADL project on OPC UA PubSub over TSN successfully completed

Another important milestone on the way to interoperable Open Source real-time Ethernet has been reached


2021-02-09 12:00

Open Source OPC UA PubSub over TSN project phase #3 launched

Letter of Intent with call for participation is now available



Real Time Linux Workshops

1999 - 2000 - 2001 - 2002 - 2003 - 2004 - 2005 - 2006 - 2007 - 2008 - 2009 - 2010 - 2011 - 2012 - 2013 - 2014 - 2015 - 2017

16th Real Time Linux Workshop, October 12 to 13, 2014 at the CCD Congress Center Dusseldorf collocated with LinuxCon Europe in Dusseldorf, Germany

Announcement - Call for participation (ASCII) - Hotels - Directions - Agenda - Paper Abstracts - Presentations - Registration - Abstract Submission - Sponsors - Gallery

Usable Simulink Embedded Coder Target for Linux

Michal Sojka, Czech Technical University in Prague
Pavel Píša, Czech Technical University in Prague

Matlab/Simulink is a commercial tool used by many researchers and engineers worldwide to design and develop various systems, usually containing a lot of mathematical computations. Simulink allows not only to simulate such systems but also to create their prototype or even final implementations. The system is first designed in a graphical way in the form of a data-flow graph and then the Embedded Coder can be used to generate and compile C code of the graphical model. Simulink Embedded Coder already contains support for several popular embedded boards running Linux such as Raspberry Pi or BeagleBoard but it can be only used on Windows hosts. Support for Linux targets on Linux hosts is very problematic. Moreover the generated code is not optimally tuned for RT_PREEMPT Linux.

In this paper we describe a custom developed Embedded Coder target that does not suffer from the above mentioned shortcomings and is freely available for use. The Simulink block sets for an I/O card and for Linux CAN subsystem are described as well. The emphasis on how the target can be extended with other needed blocks. The target was used for two application (robotic control and hardware-in-the-loop testing) that are also briefly covered.