getunitlist
Returns a list of supported units for a given unittype.
Syntax
R = getunitlist(unittype)
Inputs
- unittype
- Supported unittype.
Outputs
- R
- Cell array of supported units for given unit type.
Example
getunitlist example:
unit_types = getunittypelist();
unit_type = unit_types{1,1}
R = getunitlist(unit_type)
unit_type = length
R =
{
[1,1] A
[1,2] Al
[1,3] Em
[1,4] Gm
[1,5] Mm
...
[1,34] pm
[1,35] stat_mile
[1,36] yd
[1,37] ym
[1,38] zm
}