when I use TI C2000 microcontroller blockset demos to generate code for F28069 Launchpad, error reports like these

조회 수: 5 (최근 30일)
Error: File: D:\Program Files\MATLAB\R2023a\toolbox\c2b\tic2000\tlc_c\tic2000_compatibility.tlc Line: 51 Column: 57 The left-hand side of a . operator must be a valid scope identifier Main program: ==> [00] D:\Program Files\MATLAB\R2023a\toolbox\c2b\tic2000\tlc_c\tic2000_compatibility.tlc:<NONE>(51) [01] D:\Program Files\MATLAB\R2023a\rtw\c\tlc\blocks\gensfun.tlc:BlockTypeSetup(595) [02] D:\Program Files\MATLAB\R2023a\rtw\c\tlc\private_api\blocksetuplib.tlc:BlockSetupAndCompatibilityCheck(113) [03] D:\Program Files\MATLAB\R2023a\rtw\c\tlc\private_api\slcgentry.tlc:<NONE>(65)

답변 (1개)

Shivam Lahoti
Shivam Lahoti 2024년 9월 10일
Hi Bin,
I understand you are encountering the error: 'The left-hand side of a . operator must be a valid scope identifier' when generating code for a Simulink model targeting a TI C2000 device.
This error might arise due to several reasons, including a customized TLC file or a corrupted ERT file. If the ERT file was accidentally modified, try restoring it and then rebuild the solution.
I hope this helps to resolve the issue.
Regards,
Shivam.

카테고리

Help CenterFile Exchange에서 C2000 Microcontroller Blockset에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by