WOLFRAM SYSTEM MODELER

Convert

Block wrapper around the special inUnit function

Wolfram Language

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

Information

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";

Connectors (2)

u

Type: RealInput

Description: Value of quantity to be expressed in the unit 'to'

y

Type: RealOutput

Description: Result of unit conversion

Used in Examples (1)

OneOffConversion

SystemModelerExtras.Experimental.Units.Examples

Extended by (1)

To_Joules

SystemModelerExtras.Experimental.Units.Examples.ReusableConversion