code generation using simulink

3 次查看(过去 30 天)
Waqas Khan
Waqas Khan 2012-2-7
编辑: kheirou 2013-10-6
Hi, i am a university student. i am trying to generate a code for ccs4( for c2000 piccolo f28035 microcontroller). but whenever i try to generate , i get the following error "The left-hand side of a . operator must be a valid scope identifier".
i dont know what to do.kindly help.
regards, waqas

回答(3 个)

Kaustubha Govind
Kaustubha Govind 2012-2-7
Support for CCS 4.0 was only recently added (I think it was R2011a). Also, you need to use the XMakefile configuration for CCS 4.0. If you are using a newer version of MATLAB, follow the steps on Tutorial: Using Makefiles with Code Composer Studio 4.x and see if that helps.
  6 个评论
Siva Aduri
Siva Aduri 2012-5-19
i am also trying to interface piccolo micro controller and i have followed the steps given but still it is showing could not build
Please help because i have tried it so many times
Kaustubha Govind
Kaustubha Govind 2012-5-21
Siva: If you've already followed my advice to Waqas and still were not able to resolve the issue, you should probably contact MathWorks Tech Support.

请先登录,再进行评论。


Gurudev
Gurudev 2012-12-10
I also had a hard time getting Matlab and Simulink to work with CCS. There is one good video that helped me start. I found it a bit long but it has all the steps needed, from installation to generating code for a simple Simulink model: It works for CCSv3.3 which is older but has automatic download and run from Matlab
The same video exists for CCSv4/5: http://youtu.be/7ed1NLD817s
I hope it helps.
  1 个评论
James
James 2013-9-11
Hi, is the video for CCS4 removed from youtube? it doesn't work.

请先登录,再进行评论。


c.m.f.s.
c.m.f.s. 2012-12-28
I also face the same problem.I am using CCSV3.3.What should I do now?

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by