Main Content

sbiounitcalculator

Convert value between units

Syntax

result = sbiounitcalculator('fromUnits', 'toUnits', Value)

Description

result = sbiounitcalculator('fromUnits', 'toUnits', Value) converts the value, Value, which is defined in the units, fromUnits, to the value, result, which is defined in the units, toUnits.

Examples

result = sbiounitcalculator('mile/hour','meter/second',1)

Version History

Introduced in R2006a