Return to search

Evaluation of Compilers for MATLAB- to C-Code Translation

<p>MATLAB to C code translation is of increasing interest for science and industry. In</p><p>detail two MATLAB to C compilers denoted as Matlab to C Synthesis (MCS) and</p><p>Embedded MATLAB C (EMLC) have been studied. Three aspects of automatic code</p><p>generation have been studied; 1) generation of reference code; 2) target code generation;</p><p>3) floating-to-fixed-point conversion. The benchmark code used aimed to cover</p><p>simple up to more complex code by being viewed from a theoretical as well as practical perspective. A fixed-point filter implementation is demonstrated. EMLC and MCS</p><p>offer several fixed-point design tools. MCS provides a better support for C algorithm</p><p>reference generation, by covering a larger set of the MATLAB language as such. More</p><p>suitable for direct target implementation is code generated from EMLC. As a result</p><p>of the need to guarantee that the EMLC generated C-code allocates memory only</p><p>statically, MATLAB becomes more constraint by EMLC. Functional correctness was</p><p>generally achieved for each automatic translation.</p>

Identiferoai:union.ndltd.org:UPSALLA/oai:DiVA.org:hh-1149
Date January 2008
CreatorsMuellegger, Markus
PublisherHalmstad University, School of Information Science, Computer and Electrical Engineering (IDE), Högskolan i Halmstad/Sektionen för Informationsvetenskap, Data- och Elektroteknik (IDE)
Source SetsDiVA Archive at Upsalla University
LanguageEnglish
Detected LanguageEnglish
TypeStudent thesis, text

Page generated in 0.0027 seconds