MATLAB to C Code Generation with Embedded MATLAB