Matlab to embed

10 Aug 2011

Is it possible to turn Matlab code into an embed language?

11 Aug 2011

yes, have a look at the matlab embedded coder, however; it's quite an undertaking to develop a target from scratch. Currently, matlab does not have a target for the lpc1769. You can generate generic C/C++ code, but the input/output and peripheral drivers you would have to add to the code on your own. The last part kinda defeats the whole purpose of embedded code generation.

There is an existing arm cortex-m3 implementation out there that does have support for matlab/simulink code generation. Try google :)