MATLAB Answers


code generation using Embedded Coder

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

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

Log in to comment.

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

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.

Log in to comment.

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today