code generation using simulink
Mostrar comentarios más antiguos
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
Respuestas (3)
Kaustubha Govind
el 7 de Feb. de 2012
0 votos
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 comentarios
Waqas Khan
el 9 de Feb. de 2012
Kaustubha Govind
el 9 de Feb. de 2012
Waqas: Like I mentioned before, CCS4 is only supported starting in R2011a - you might need to try with CCS3 if you are using R2010b. Try checking the "Generate code only" box in the Configuration Parameters window on the Code generation (previously Real-Time Workshop) pane: http://www.mathworks.com/help/releases/R2011b/toolbox/rtw/ref/bq259d4-1.html
Waqas Khan
el 14 de Feb. de 2012
Kaustubha Govind
el 14 de Feb. de 2012
Waqas: Sorry, my experience with Embedded Coder and CCS is limited. Since you say that you recently upgraded, it means that you are currently on the MathWorks Software Maintenance Service. You should be able to contact MathWorks Tech Support and obtain help with this. I would recommend trying that out.
Siva Aduri
el 19 de Mayo de 2012
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
el 21 de Mayo de 2012
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
el 10 de Dic. de 2012
0 votos
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
I hope it helps.
1 comentario
James
el 11 de Sept. de 2013
Hi, is the video for CCS4 removed from youtube? it doesn't work.
c.m.f.s.
el 28 de Dic. de 2012
0 votos
I also face the same problem.I am using CCSV3.3.What should I do now?
Categorías
Más información sobre Texas Instruments C2000 Processors en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!