Missing Signal Target Scope

조회 수: 1 (최근 30일)
Roman Weiss
Roman Weiss 2016년 12월 6일
답변: Hari Desanur 2016년 12월 12일
Hello,
as described above a signal is not displayed numerically on the target pc running simulink realtime (R2015b). Others are displayed in the same scope.
If I try to read out the signal by command prompt (Matlab R2015b):
>> tg.getsignalidsfromlabel('dLambda1')
ans = 335
>> tg.getsignal(335)
Error using xpctarget.xpc/getsignal TargetPC1: Invalid Signal index
Additionally the signal index is higher than the number of signals. I would be a happy for a possible solution / short explanation what is going wrong here.
Thank you in advance.
Best regards Roman

답변 (1개)

Hari Desanur
Hari Desanur 2016년 12월 12일
You must make sure that the signal which you are trying to monitor is not virtual signal or a virtual bus. You may have to add a 'Gain' block to monitor that signal -

카테고리

Help CenterFile Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by