unitSystems

Names of the available unit systems.

Category: Symbolic Computations in MATLAB > Units of Measurement

Syntax

names = unitSystems

Returns the names of the built-in and user-defined unit systems.

Description

The built-in systems are "SI", "CGS", "EMU", "ESU", "GU" and "US". Systems created with newUnitSystem are added to the list and disappear with removeUnitSystem. Pass any of the names to baseUnits, derivedUnits or unitConvert.

Output arguments

names
String row vector, in alphabetical order.

Example

Listing systems

unitSystems
Output
ans = 1×6 string array

    "CGS"    "EMU"    "ESU"    "GU"    "SI"    "US"

See also

baseUnits derivedUnits newUnitSystem removeUnitSystem