Why do I receive this TLC processing error: need to rebuild my my model because of incomplete records in the .rtw file.

1 view (last 30 days)
I was following instructions from the Build Process part. After building the ecaxt model and running the command
tlc -r basic_grt_rtw/basic.rtw basic.tlc -v
I kept getting this error:
And this is the data it indicates:

Answers (1)

Mark McBroom
Mark McBroom on 14 Jan 2023
Your MATLAB code at the top of this post is for Simulink model "basic" but the error message and RTW file is for model "basic2". Did you use the wrong RTW file?
Xunkai Hu
Xunkai Hu on 29 Jan 2023
It works after removing these lines in my *.rtw file. The 'SLData' seems not to be accessed by the cmd command.

Sign in to comment.


Find more on Simulink Coder in Help Center and File Exchange





Community Treasure Hunt

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

Start Hunting!

Translated by