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.

 Respuesta aceptada

Isha
Isha el 21 de Mayo de 2026 a las 5:16
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 comentario

Shivram
Shivram el 21 de Mayo de 2026 a las 9:40
Hello,
I unchecked the 'signal storage reuse' option in the optimization and it works now.
Thank you so much for the answer!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Productos

Etiquetas

Preguntada:

el 18 de Mayo de 2026 a las 5:26

Comentada:

el 21 de Mayo de 2026 a las 9:40

Community Treasure Hunt

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

Start Hunting!

Translated by