Locate source of Simulation Target diagnostics

22 visualizzazioni (ultimi 30 giorni)
PJ
PJ il 5 Nov 2025 alle 22:02
Commentato: PJ il 24 Nov 2025 alle 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?

Risposta accettata

Leepakshi
Leepakshi il 12 Nov 2025 alle 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 Commento
PJ
PJ il 24 Nov 2025 alle 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."

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Deployment, Integration, and Supported Hardware in Help Center e File Exchange

Prodotti


Release

R2025a

Community Treasure Hunt

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

Start Hunting!

Translated by