This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MATLAB + TMS570 floating point

Is it possible to use MATLAB embedded C Code generation tool with TMS570 floating point module? If it is so, also does the FPU completely support MATLAB float('double') types?

  • The FPU in Antares supports +, - , x, /, abs and sqrt... You can find the detail of FPU instructions in ARM Architecture Reference Manual. It supports float and double. Then the compiler (e.g CCS) provides a set of libraries to translate the function used in the application (e.g sin, exp, cos, x, abs) to these instructions. Therefore, your question is a compiler specific question. I think it is more suitable to post it in the CCS forum or ask for help from IAR if you are using their compiler.

    Based on my experience, the C code generated by Matlab requires lots of libraries. I am not sure how you are going to handle these libraries. The code generated by Matlab is huge. That might not be suitable for TMS570 such a RISC device.

     

     

    Regards,

    Haixiao