Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

To resolve issues starting MATLAB on Mac OS X 10.10 (Yosemite) visit: http://www.mathworks.com/matlabcentral/answers/159016

code generation using Embedded Coder

Asked by Adrian Dronca on 28 Mar 2012

Hello all,

I`m trying to generate Embedded C code, but without the HW present(with the HW present it is working fine).

I select system target file: ert.tlc but i get the following error:

Error: File: C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xcanxmt.tlc Line: 65 Column: 36 The left-hand side of a . operator must be a valid scope identifier

How can i generate C code without using the HW ?

1 Comment

Adrian Dronca on 28 Mar 2012

yes i am trying to generate code for a Texas Instruments device

Adrian Dronca

1 Answer

Answer by Kaustubha Govind on 28 Mar 2012
Accepted answer

I've not done this recently, but in the past, I have been able to generate code for TI targets without the hardware connected. I believe you may need to setup CCS to work with an emulator in that case.

1 Comment

Adrian Dronca on 28 Mar 2012

thank you, you just gave me an idea. I configured the CCS to work with a SIMULATOR (because i do not have an emulator always) and it generated the code.

Kaustubha Govind

Contact us