WOLFRAM SYSTEM MODELER
ValueBlock wrapper around the special withUnit operator |
|
SystemModel["SystemModelerExtras.Experimental.Units.Value"]

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";
| u |
Type: RealInput Description: Numerical value to combine with 'unit' |
|
|---|---|---|
| y |
Type: RealOutput Description: Value of quantity, expressed in 'unit' |