units_get_other_unitsΒΆ

units_get_other_units returns for a given unit all available units which have the same SI unit.

svOtherUnits = units_get_other_units(oUnit, ssUnit)

Return Value

svOtherUnits is a vector with units.

Parameters

oUnit

Units-Converter-Object, see units.

ssUnit

ssUnit is a unit.

Comment

Can also be invoked in the following form: oUnit.others(ssUnit).

Example

u = units()
units_get_other_units(u, "PS")
PS
HP
kW
W

History

Version Description
R2013.11 New.

See also

Unit Converter, units

id-1738961