@misc{14375, keywords = {Code translation, Matlab, Armadillo, C++}, author = {Geir Paulsen and Jonathan Feinberg and Xing Cai and Bj{\o}rn Nordmoen and Hans Dahle}, title = {Matlab2cpp: A Matlab-to-C++ code translator}, abstract = {This paper discusses the source-to-source Matlab2cpp translator, which is currently being developed in the EMC2 project. With help of user-supplied information about variable data types and a few special translation rules, Matlab code can be automatically translated into C++ code that makes use of the Armadillo C++ library. Preliminary tests with examples from the SeismicLab package have confirmed that this Matlab-to-C++ translator is indeed capable of handling realistic Matlab code. This tool thus has the potential of closing the gap between human-friendly experimentation offered by interactive Matlab scripting and performance-critical production runs that rely on C++ programming.}, year = {2016}, journal = {IEEE 2016 11th System of Systems Engineering Conference (SoSE)}, month = {06/2016}, publisher = {IEEE}, doi = {10.1109/SYSOSE.2016.7542966}, }