This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Get information about all units in unit registry


[units, conversions, expressions] = pm_getunits


[units, conversions, expressions] = pm_getunits returns all units in the registry in a cell array, units. Their corresponding conversions and base expressions are returned in conversions and expressions, respectively. For fundamental units, the conversion is 1.0 and the base expression is the unit itself.


List all units currently defined in the registry:


ans = 


Introduced in R2007a