The Matlab Compiler Suite: M Files To C/C++ Executable Programs
Roger Lee, Rafic A. Bachnak · 2020
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, Mfiles require the presence of MATLAB to run.Recently, The MathWorks 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.