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

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

Asked by c.m.f.s.
on 2 Jan 2013

When I want to build my program from Matlab into the ezdsp I got the following problem.

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

What can I do now? I will be very thankful to you for your reply.

Answer by Xiaoxuan Wang
on 19 May 2014

I have exactly the same problem with u. Have you solved the problem? Could you please tell me the solution?

## 9 Comments

## Kaustubha Govind

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_120211

This might be a bug, please report this to MathWorks Tech Support to verify that and see if there is a workaround/solution.

## c.m.f.s.

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_120322

Thank you for your valuable reply.Is it problem in my design or matlab & CCS ? Please assure me.

## Walter Roberson

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_120327

It could be both: you might have a problem in your design

andMATLAB has a problem in generating the code.## c.m.f.s.

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_121125

How can I solve it?

## Kaustubha Govind

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_121259

Contact MathWorks Tech Support.

## c.m.f.s.

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_121332

It shows the following error in Matlab window

Error: File: C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_di.tlc Line: 27 Column: 25 Undefined identifier targetInfo Main program: ==> [00] C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_di.tlc:BlockTypeSetup(27) [01] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\blocks\gensfun.tlc:BlockTypeSetup(428) [02] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\mw\commonpass.tlc:<NONE>(143)

Error: File: C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_di.tlc Line: 27 Column: 36 The left-hand side of a . operator must be a valid scope identifier Main program: ==> [00] C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_di.tlc:BlockTypeSetup(27) [01] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\blocks\gensfun.tlc:BlockTypeSetup(428) [02] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\mw\commonpass.tlc:<NONE>(143)

Error: File: C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_di.tlc Line: 27 Column: 45 The left-hand side of a . operator must be a valid scope identifier Main program: ==> [00] C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_di.tlc:BlockTypeSetup(27) [01] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\blocks\gensfun.tlc:BlockTypeSetup(428) [02] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\mw\commonpass.tlc:<NONE>(143)

Error: File: C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_do.tlc Line: 23 Column: 25 Undefined identifier targetInfo Main program: ==> [00] C:\Program Files\MATLAB\R2011a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xgpio_do.tlc:BlockTypeSetup(23) [01] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\blocks\gensfun.tlc:BlockTypeSetup(428) [02] C:\Program Files\MATLAB\R2011a\rtw\c\tlc\mw\commonpass.tlc:<NONE>(143)

## Kaustubha Govind

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_121708

c.m.f.s.: I understand that you are seeing the error, but unfortunately, none of us on this forum know how to solve it. It is best to contact Tech Support in this situation.

## Xiaoxuan Wang

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_214635

I have exactly the same problem with u. Have you solved the problem? Could you please tell me the solution?

## maha

Direct link to this comment:http://www.mathworks.com/matlabcentral/answers/57770#comment_233898

dear i have also problem and not able to build simulink model if any one have idea please let me know