Though I did not understand the work here, since the matlab tool itself provides a way to convert/generate the code from matlab to C (I did code in Matlab around 10 yers ago). So, even though I did bid, wanted to understand what is the expectation. Do not consider my bid (my bidding is just to understand the work better and on top of that I do not have matlab with me, however I am good in C,C++ and Java). But if you mean, you have matlab code but you do not have access to the Matlab and need to convert that code to C, then the time might depend upon what matlab specific functions esp. the mathematical/graphical functions are involved in that.
I would be interested to have conversation/chat on this, just to understand.
Best Regards