Locate source of Simulation Target diagnostics

22 views (last 30 days)
PJ
PJ on 5 Nov 2025 at 22:02
Commented: PJ on 24 Nov 2025 at 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?

Accepted Answer

Leepakshi
Leepakshi on 12 Nov 2025 at 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 Comment
PJ
PJ on 24 Nov 2025 at 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."

Sign in to comment.

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2025a

Community Treasure Hunt

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

Start Hunting!