The first step is to select a C compiler in MATLAB. Though the MATLAB C
compiler (lex) cannot generate object code for the MPC 5553, it is an effective tool at
figuring out syntax errors in your C code before you begin the final build process.
At the MATLAB prompt, enter “mex -setup”
When asked...