필터 지우기
필터 지우기

Why doesn't signal units propagate through blocks?

조회 수: 1 (최근 30일)
Proglet
Proglet 2020년 10월 31일
댓글: Walter Roberson 2020년 11월 1일
I just started to use the "signal units" feature on Simulink signals then I found that it doesn't go through my model. For example, I expect a signal in "Nm" of the output of a product block which has inputs of signals in "N" and "m". But it doesn't happen.
Am I missing something?

채택된 답변

stozaki
stozaki 2020년 10월 31일
Hello Proglet,
There are two inputs. One has the unit N and the other has the unit m. The unit Nm is obtained as the result of each multiplication.
However, the Product block does not automatically add units to the calculation result. This is a Simulink specification. If you want to give the unit explicitly, you need to set the unit attribute using Simulink.Signal object etc.
stozaki
  댓글 수: 2
Proglet
Proglet 2020년 11월 1일
Thank you for your reply.
Now I know this feature is for not calculation consistency checking but subsystem connection checking.
Walter Roberson
Walter Roberson 2020년 11월 1일
Simscape checks units I believe.

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

추가 답변 (0개)

카테고리

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

태그

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by