Hi guys, im trying to design a DMT system. Iv built a workin model in simulink
and now hav to try implement it on a TIc5416 processor. Iv heard that instead of
rewriting C code for the DSP, it is possible to get SIMULINK to generate C code
from my simulink model ...
Pls can any point me in right direction ... i know its in the Emebbeded coder
toolbox and hav tried but errors keep poppin up and its driving me nuts!!!
Matlab embedded coder
Started by ●October 3, 2006
Reply by ●October 4, 20062006-10-04
Dave-
> Hi guys, im trying to design a DMT system. Iv built a workin model in simulink
> and now hav to try implement it on a TIc5416 processor. Iv heard that instead
> of rewriting C code for the DSP, it is possible to get SIMULINK to generate C
> code from my simulink model ...
First, for what board? SIMULINK requires a specific hardware target to generate C
code. Second, it has been my general experience that SIMULINK is not going to
generate efficient real-time code for fixed-point TI DSPs. The results may serve as
a guide, but in the end you will need to take full control of the C code (and
possibly optimized asm code) running on the DSP and make sure it matches your MATLAB
simulation architecture and data flow.
-Jeff
> Hi guys, im trying to design a DMT system. Iv built a workin model in simulink
> and now hav to try implement it on a TIc5416 processor. Iv heard that instead
> of rewriting C code for the DSP, it is possible to get SIMULINK to generate C
> code from my simulink model ...
First, for what board? SIMULINK requires a specific hardware target to generate C
code. Second, it has been my general experience that SIMULINK is not going to
generate efficient real-time code for fixed-point TI DSPs. The results may serve as
a guide, but in the end you will need to take full control of the C code (and
possibly optimized asm code) running on the DSP and make sure it matches your MATLAB
simulation architecture and data flow.
-Jeff