Simulink variables not reflecting in ControlDesk Variable browser

I have been working on a logic in simulink. I built a new subsystem to develop the logic and mapped inputs from different subsystem. Using ConfigurationDesk I built the model and when I checked for the input signal of the new subsystem in ControlDesk Variable browser I am not able to see the signal at all.

 Réponse acceptée

Isha
Isha il y a environ 16 heures
Hello,
This issue typically occurs because the signal is not being exported to ControlDesk. The ControlDesk Variable Browser only displays signals that are part of the TRC file generated during the build process, so if the signal is optimized out or not configured as a visible variable, it will not appear.
This commonly happens when optimization settings like signal storage reuse or block reduction are enabled, or when inline parameters are turned on, as these can remove or embed signals in the generated code. To resolve this, you can disable these optimization options, ensure the signal is marked as a test point or connected to an Outport, or define it using a Simulink.Signal object, and then rebuild the model.
For more information, refer to MathWorks documentation on signal logging:
Hpe this helps.

1 commentaire

Hello,
I unchecked the 'signal storage reuse' option in the optimization and it works now.
Thank you so much for the answer!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Produits

Question posée :

le 18 Mai 2026 à 5:26

Commenté :

le 21 Mai 2026 à 9:40

Community Treasure Hunt

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

Start Hunting!

Translated by