The work for this paper was carried out when the authors were at Northwestern University
Research Article
A translator system for the MATLAB language†
Article first published online: 2 NOV 2006
DOI: 10.1002/spe.781
Copyright © 2006 John Wiley & Sons, Ltd.
Additional Information
How to Cite
Joisha, P. G. and Banerjee, P. (2007), A translator system for the MATLAB language. Software: Practice and Experience, 37: 535–578. doi: 10.1002/spe.781
- †
Publication History
- Issue published online: 21 MAR 2007
- Article first published online: 2 NOV 2006
- Manuscript Accepted: 18 JUN 2006
- Manuscript Revised: 16 JUN 2006
- Manuscript Received: 3 JAN 2006
Funded by
- DARPA. Grant Number: F30602-98-2-0144
- NASA. Grant Number: 276685/NAS5-00212
- Abstract
- References
- Cited By
Keywords:
- typeless array languages;
- translator architecture;
- type inference;
- code generation
Abstract
A whole-program MATLAB to C translation system is presented. The paper outlines the motivation for the problem, discusses the system's architecture, its features and limitations. The translator's operation is explained using an example input program. Details are given on how the system implements and specializes some of the language's built-in primitives. Finally, the paper reports measurements evaluating the execution time and memory usage of the translated sources, and the compilation time required for the translations. Copyright © 2006 John Wiley & Sons, Ltd.

1097-024X/asset/olbannerleft.jpg?v=1&s=2d7d001211f2c40f177a231141601e9f52afc1f3)
1097-024X/asset/olbannerright.jpg?v=1&s=3aec7891a8ba78b361ead9743adfc0b6eae6369a)
1097-024X/asset/cover.gif?v=1&s=5a70ecca2928358eca4ff75b9921d0552ffb6539)