Rapid Development of Embedded Software Based on Matlab

In order to get high efficiency of code design and convenience of system maintenance, this paper applies the most advanced method, unified modeling language (UML) and model-driven architecture (MDA), on the development of the embedded system based on the MSC1212. Firstly, using Matlab/stateflow toolbox to model and simulate the complex event driven system in the embedded system introduced in this paper. Then using stateflow coder translated the state chart into high efficiency C code. By making some simple replacement to the blank C function with the low-layer function of the target system based MSC1212, the code rapid generation of the embedded software is finished. It has been proved by experiment that, the automatically code generation introduced in this paper works well in the embedded target system. It has good performance and high code efficiency than those code generated by hand.

[1]  Wolfgang A. Halang,et al.  A component-based UML profile to model embedded real-time systems designed by the MDA approach , 2005, 11th IEEE International Conference on Embedded and Real-Time Computing Systems and Applications (RTCSA'05).

[2]  Yin Xing-liang Simulation of a Cruise Missile with Stateflow , 2004 .

[3]  Ketil Stølen,et al.  What is model driven architecture , 2003 .

[4]  Martin Gogolla Unified Modeling Language , 2009, Encyclopedia of Database Systems.

[5]  Liu Ran Code Generation of a Visual CASE Platform Based on UML , 2002 .

[6]  M. Mutz,et al.  Avoiding unpredicted behaviour of large scale embedded systems by design and application of modelling rules , 2004, Proceedings. 2004 First International Workshop on Model, Design and Validation, 2004..

[7]  Fabio Paulo Basso,et al.  Using the FOMDA approach to support object-oriented real-time systems development , 2006, Ninth IEEE International Symposium on Object and Component-Oriented Real-Time Distributed Computing (ISORC'06).

[8]  Bran Selic,et al.  Using UML for Modeling Complex Real-Time Systems , 1998, LCTES.