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.

 채택된 답변

Isha
Isha 2026년 5월 21일 5:16

0 개 추천

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

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

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Subsystems에 대해 자세히 알아보기

제품

질문:

2026년 5월 18일 5:26

댓글:

2026년 5월 21일 9:40

Community Treasure Hunt

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

Start Hunting!

Translated by