WOLFRAM SYSTEM MODELER

NumericalValue

Block wrapper around the special withoutUnit function

Wolfram Language

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

Information

This block is a wrapper around the withoutUnit 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 NumberOfMeters = .SystemModelerExtras.Experimental.Units.NumericalValue(final unit = "m")
  "Get length as number of meters";

Connectors (2)

u

Type: RealInput

Description: Value of quantity

y

Type: RealOutput

Description: Numerical value of 'u' expressed in 'unit'