hi pancho
I faced the same problem when converting the viterbie decoder from matlab to DSP c6416
1- try converting block by block so that you could find the block causing error.
2-search for m file that could do the same job , put it in an embedded matlab block ( version 7.5 and higher)
3- embedded matlab will ask you to change some coding styles, try keeping the function of course
4- download the block to the dsp ( ideally no problem)
5- download the full equalizer
hope that works with you