Locate source of Simulation Target diagnostics

조회 수: 22 (최근 30일)
PJ
PJ 2025년 11월 5일 22:02
댓글: PJ 2025년 11월 24일 20:16
When I run my Simulink model for the first time, I see diagnostics printed like VarDim N, SF Y, concat N, TLC YVarDim N, SF Y, concat N, TLC YVarDim N, SF Y, concat N, TLC Y. I am running in accelerator mode. I have found similar text printed in this example, but the example does not give context behind the diagnostics. The common file I have found containing the text VarDim is the codedescriptor.dmr file. What is the source of the diagnostic? How can I disable it?

채택된 답변

Leepakshi
Leepakshi 2025년 11월 12일 9:26
Hi,
This is an expected behaviour. The diagnostic messages such as VarDim N, SF Y, concat N, TLC Y that appear when running your Simulink model in accelerator mode are internal status outputs generated by Simulink Coder during code generation and simulation. Their appearance is not explained in the example documentation.
You can try updating MATLAB/Simulink to a newer version where such verbose diagnostics may have been removed. For a permanent fix, contact MathWorks support on below link:
Hope this helps!
  댓글 수: 1
PJ
PJ 2025년 11월 24일 20:16
Additional details from my chat with support: "These outputs are inadvertently printed in the Diagnostic Viewer and/or build logs when generating code in R2025a or R2025b, but only under very specific conditions.
Currently, there is no workaround to suppress these messages. However, please be assured that they are internal debugging messages and do not indicate any issue with your model or the code generation process.
The development team is aware of this behavior and will be working on a fix for future releases."

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by