Error using SimulinkRealTime.target/getsignal
조회 수: 12 (최근 30일)
이전 댓글 표시
I'm using Simulink Real-Time and am trying to use the getsignal command to find the current value of a signal in the model. I have successfully used this for a number of other signals with no problems but a few of the recently added signals report the error "Error using SimulinkRealTime.target/getsignal Invalid Signal".
I have tried the following
- Adding a unit gain block and reading the output of that signal
- Making the signal a "Test Point"
- Using the Data Inspector and logging the signals (they appear in the Data Inspector but not with getsignal)
When I show the signals for the target using
tg = slrt;
tg.ShowSignals = 'on';
The signals that I am looking for do not appear in the list.
What can I do to force the signals to be visible to the host PC?
댓글 수: 2
Jon Lobo
2020년 12월 11일
Hi Scott,
Which release are you in? Can you tell me more about the signal in question? Is it a virtual/non-virtual bus, scalar, enumerated etc?
-Jon
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Target Computer Setup에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!