This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Adds new dimension to unit registry





pm_adddimension(dimension,unitname) adds a new unit dimension with a fundamental unit, unitname.


collapse all

Add a new unit dimension.


The unit registry contains a new dimension, length, with a fundamental unit of meter, m.

Input Arguments

collapse all

Name of dimension to add to the unit registry, specified as a string. You can specify any string.

Data Types: char

Fundamental unit used for the new dimension, specified as a string. The string must be a valid unit name: it must begin with a letter and contain only letters and numbers.

Data Types: char

Introduced in R2007a

Was this topic helpful?