The MATLAB compiler suite: M-Files to C/C++ executable programs

Ray Bachnak, Roger Lee

Research output: Contribution to journalConference articlepeer-review

2 Scopus citations


MATLAB has been recognized as the premier program for numerical computations and data visualization. Due to the fact that MATLAB is an interpreted language, M-files execute slower than compiled programs written in other languages. Furthermore, M-files require the presence of MATLAB to run. Recently, The Math Works introduced a set of tools to automatically convert M-files into C/C++ source code, which can then be compiled to produce stand-alone executable code. This paper discusses the features of the Compiler, describes the conversion process, and presents test results that compare execution times of M-files and C/C++ executable applications.

Original languageEnglish (US)
Pages (from-to)151-158
Number of pages8
JournalASEE Annual Conference Proceedings
StatePublished - 2002
Event2002 ASEE Annual Conference and Exposition: Vive L'ingenieur - Montreal, Que., Canada
Duration: Jun 16 2002Jun 19 2002

All Science Journal Classification (ASJC) codes

  • General Engineering


Dive into the research topics of 'The MATLAB compiler suite: M-Files to C/C++ executable programs'. Together they form a unique fingerprint.

Cite this