필터 지우기
필터 지우기

S-PS block can't take a vector?

조회 수: 1 (최근 30일)
daniel
daniel 2016년 10월 3일
댓글: Swarooph 2016년 10월 4일
Why does the S-PS block take a signal builder block but cant take a vector of values? How can I do this? and/or how can I translate the signal builder signal to something I want, like t = 0:0.1:300 and sigIn = [t;rand(size(t))] for example. I can't get this from a signal builder block.
Thanks Daniel
  댓글 수: 1
Swarooph
Swarooph 2016년 10월 4일
How are you trying to do this? Are you using a From Workspace block or an Input port? Also, when you say S-PS block can't take a vector of values, what do you mean? Do you get an error? Can you post that as well?
FWIW, I was able to feed in a vector using a From Workspace block in the model using variables tin and throttleIn that I created. Screenshot below.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by