Locate source of Simulation Target diagnostics

20 次查看(过去 30 天)
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