Azzera filtri
Azzera filtri

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

27 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Antonin
Antonin il 13 Apr 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.
  6 Commenti
Emine Ozkara
Emine Ozkara il 7 Gen 2021
Hi Omkar and Luka!
May I ask you to send your models or another model that you can reproduce this issue in order to analyze your problems in more detail?
You can also download a trial version of the latest version of SIMATIC Target, which is V4.0 and is compatible whith MATLAB 2020b here: https://support.industry.siemens.com/cs/document/109772888/simatic-target-1500s-v4-0-trial-download?lc=en-tr
Best.

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by