Main Content

pm_getdimensions

Get information about all dimensions in unit registry

Syntax

[dimensions, units] = pm_getdimensions

Description

[dimensions, units] = pm_getdimensions returns all dimensions registered in the unit registry in a cell array , dimensions. Their corresponding units are returned in the units cell array.

Examples

List all dimensions currently defined in the registry:

pm_getdimensions

ans = 

    'charge'
    'length'
    'mass'
    'mole'
    'temperature'
    'time'

Version History

Introduced in R2009a