WOLFRAM SYSTEM MODELER

Value

Block wrapper around the special withUnit function

Wolfram Language

In[1]:=
SystemModel["SystemModelerExtras.Experimental.Units.Value"]
Out[1]:=

Information

This block is a wrapper around the withUnit function. It can either be used directly, or be used for defining specific unit conversion blocks by means of short class declarations, for example:

block Newton = .SystemModelerExtras.Experimental.Units.Value(final unit = "N")
  "Make value of quantity from numerical value expressed in newton";

Connectors (2)

u

Type: RealInput

Description: Numerical value to combine with 'unit'

y

Type: RealOutput

Description: Value of quantity, expressed in 'unit'