WOLFRAM SYSTEM MODELER
NumericalValueBlock wrapper around the special withoutUnit function |
SystemModel["SystemModelerExtras.Experimental.Units.NumericalValue"]
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";
u |
Type: RealInput Description: Value of quantity |
|
---|---|---|
y |
Type: RealOutput Description: Numerical value of 'u' expressed in 'unit' |