Automatic Building of Real-Time Multicore Systems Based on Simulink Applications

  • Minji Cha
  • Kyong Hoon Kim
Part of the Communications in Computer and Information Science book series (CCIS, volume 151)


MATLAB/Simulink is commonly used for designing model-based dynamic embedded systems. Throughout Real-Time Workshop toolkits, it can generate C or C++ programs for various target platforms, which is useful to develop embedded systems. However, the current toolkits generate only single programs, so that it does not leverage multicore technology for performance improvement. In this paper, we provide an automatic code generation scheme for multicore real-time systems by inserting user-defined S-Functions for Simulink applications. Therefore, users can easily develop multiple subtasks of a Simulink application on multicore systems. We develop the automatic code generation for RTAI real-time systems and evaluate the performance throughout experiments.


Auto-code Multicore Real-Time Simulink RTAI 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
  2. 2.
    Mathworks: Simulink Model-Based and System-Based Design (Writing S-Function) (1998–2001)Google Scholar
  3. 3.
    Lineo, Inc.: DIAPM RTAI programming guide (2000),
  4. 4.
    Bucher, R., Balemi, S.: Rapid Controller Prototype with Matlab/Simulink and Linux. Control Engineering Pracrice 14, 185–192 (2003)CrossRefGoogle Scholar
  5. 5.
    Bucher, R., Dozio, L.: CACSD under RTAI Linux with RTAI-LAB. In: Real-Time Linux Workshop, vol. 5 (2003)Google Scholar
  6. 6.
    Canedo, A., Yoshizawa, T., Komatsu. H.: Automatic Parallelization of Simulink Applications. In: IEEE/ACM International Symposium on Code Generation and Optimization (CGO), vol. 8, pp. 151–159 (2010)Google Scholar
  7. 7.
    Sarolahti, P.: Real-time Application Interface,
  8. 8.
    Cho, S., Choi, K.: A Study on Validation of OFP for UAV using Auto Code Generation. The Kerean Society for Aeronautical & Space Sciences 37(4), 359–366 (2009)CrossRefGoogle Scholar
  9. 9.
    Cho, S., Park, J., Kim, S., Choi, K., Park, C.: Development of Software for UAV using Automatic Code Generation of MATLAB. The Korean Society for Aeronautical & Space Sciences 4, 571–574 (2007)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2011

Authors and Affiliations

  • Minji Cha
    • 1
  • Kyong Hoon Kim
    • 1
  1. 1.Department of InformaticsGyeongsang National UniversityJinjuSouth Korea

Personalised recommendations