EmbeddedRelated.com
Forums

Guidance regarding MATLAB and CCS interfacing

Started by aksh...@yahoo.com July 16, 2007
Hi all,

I am new to the CCS environment and know hardly anything about TI's DSP Processor. Hence I tried dumping the code using MATLAB's C2000 embedded target toolbox. I started with the demo program given in matlab "PWM Duty Cycle Control via Period Change".

Firstly in CCS environment it gave me error that some header files couldnt be included and now when i provided path manually, it gives an error that some #error defined in simstruct.h file are not recognized and the program is not built successfully.

Since i need to run the first program urgently, can anybody please help me to get rid of this.

Important point: Link for code composer studio: version 1.3.1
Embedded target for TI C2000 DSP: version 1.1
Real time workshop: version 6.0
Code composer studio: version 3.3.38.2
Can this problem be related to mismatching of versions in MATLAB and CCS.

Looking forward to hear from you.

Thanks,

With regards,
Akshay Mathur

a...@yahoo.com
Hi,
I know the feeling.. had my share of problems - and still have.
The problem could be related to incompatibilties of Matlab and CCS versions.
I can run the demo "out of the box" (checked 5 minutes ago) on a SpectrumDigital F2812 eZdsp board with the following s/w versions:
CCS 3.1.0
Matlab 7.3.0 (R2006b)
Link for CCS V2.1
Embedded target for c2000 v2.1
RTW V2.1
Matlab demo directory: R2006b\toolbox\rtw\targets\tic2000\tic2000demos
Simulink model: c2812pwmtest.mdl

Good luck!
Ilan Fono

Hi all,
>
>I am new to the CCS environment and know hardly anything about TI's DSP Processor. Hence I tried dumping the code using MATLAB's C2000 embedded target toolbox. I started with the demo program given in matlab "PWM Duty Cycle Control via Period Change".
>
>Firstly in CCS environment it gave me error that some header files couldnt be included and now when i provided path manually, it gives an error that some #error defined in simstruct.h file are not recognized and the program is not built successfully.
>
>Since i need to run the first program urgently, can anybody please help me to get rid of this.
>
>Important point: Link for code composer studio: version 1.3.1
> Embedded target for TI C2000 DSP: version 1.1
> Real time workshop: version 6.0
> Code composer studio: version 3.3.38.2
>Can this problem be related to mismatching of versions in MATLAB and CCS.
>
>Looking forward to hear from you.
>
>Thanks,
>
>With regards,
>Akshay Mathur
>
>a...@yahoo.com