Why doesn't signal units propagate through blocks?
1 view (last 30 days)
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 on 31 Oct 2020
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.