Why doesn't signal units propagate through blocks?

2 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Model Verification 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by