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

조회 수: 5 (최근 30일)
I was following instructions from the Build Process part. After building the ecaxt model and running the command
slbuild('basic')
tlc -r basic_grt_rtw/basic.rtw basic.tlc -v
I kept getting this error:
And this is the data it indicates:

답변 (1개)

Mark McBroom
Mark McBroom 2023년 1월 14일
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?
  댓글 수: 2
Xunkai Hu
Xunkai Hu 2023년 1월 16일
Thanks for your response, Mark. I guess that doesn't matter. I put the wrong screenshot, but the original model "basic.slx" did not work out ethier.
The purpose here is to get the information from *.rtw file manually. I think it is supposed to get that from any generated model. I start to wonder if this toturial is compatible with 2022a.
Xunkai Hu
Xunkai Hu 2023년 1월 29일
It works after removing these lines in my *.rtw file. The 'SLData' seems not to be accessed by the cmd command.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

태그

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by