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

8 次查看(过去 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