how to rectify error "The left-hand side of a . operator must be a valid scope identifier''

21 vues (au cours des 30 derniers jours)
Hi all,
I am interfacing TMS320f28335 with matlab 2013a. When i develop a model in simulink and build the model, it is giving following error.
"Error: File: E:\Program Files\MATLAB\R2013a\toolbox\target\extensions\processor\tic2000\blks\mex\tlc_c\c280xpwm.tlc Line: 57 Column: 36 The left-hand side of a . operator must be a valid scope identifier"
please give a solution to this ASAP.
Thank you.

Réponse acceptée

Antonin
Antonin le 13 Avr 2015
Hi trans,
Your model doesn't look configured for the F28335 processor. Open the configuration parameters of the model, go to "Code Generation", make sure that "idelink_ert.tlc" is selected as your "System target File". You should see a "Coder Target" menu item under Code Generation, go there and click on the "Target Hardware Resources". Under "board", make sure that you have selected a board with the F28335 processor. For example, you can selected board as "C2000 Custom" and processor as "F28335", this will support any F28335 custom board.
That will fix your problem.
I hope it helps,
Cheers,
Antonin.
  7 commentaires
Minh Tan Le
Minh Tan Le le 22 Août 2024
Hello Emine Ozkara, I got this error when installing Target_1500s_V4 when I installed Target_1500s_V4 it reported an incompatibility with Matlab and then I deleted the old Matlab and I installed Matlab 2020b but when I reinstalled it reported an incompatibility with Matlab again. I continued to install Window and the window I installed was window10 and the software I installed first was Tiaportal V16 then I continued to install Target_1500s_V4 and it still reported an incompatibility with Matlab but I had never installed Matlab before. I really hope you can guide me through this error. Thank you

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Deployment, Integration, and Supported Hardware dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by