WOLFRAM SYSTEM MODELER
ConvertBlock wrapper around the special inUnit function |
SystemModel["SystemModelerExtras.Experimental.Units.Convert"]
This block is a wrapper around the inUnit 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 To_degF = .SystemModelerExtras.Experimental.Units.Convert(final to = "degF") "Convert temperature to degrees Fahrenheit";
u |
Type: RealInput Description: Value of quantity to be expressed in the unit 'to' |
|
---|---|---|
y |
Type: RealOutput Description: Result of unit conversion |
SystemModelerExtras.Experimental.Units.Examples |
SystemModelerExtras.Experimental.Units.Examples.ReusableConversion |