Tiny MATLAB-to-C converter (TMC Compiler) TMC compiler is translator from restricted matlab to C.
Tool to port/migrate/optimize MATLAB(R)-written projects to C-code. Consists of C-code generator and run-time support library. Supports a subset of MATLAB (R) language and an extendable set of in-build functions.
See http://csafonov.blogspot.com/p/tmc.html https://sourceforge.net/projects/tmc-m-files-to-c-compiler/