Documentation

Length Conversion

Convert from length units to desired length units

Library

Utilities/Unit Conversions

Description

The Length Conversion block computes the conversion factor from specified input length units to specified output length units and applies the conversion factor to the input signal.

The Length Conversion block icon displays the input and output units selected from the Initial unit and the Final unit lists.

Parameters

Initial unit

Specifies the input units.

Final unit

Specifies the output units.

The following conversion units are available:

mMeters
ftFeet
kmKilometers
inInches
miMiles
naut miNautical miles

Inputs and Outputs

InputDimension TypeDescription

First

 Contains the length in initial length units.

OutputDimension TypeDescription

First

 Contains the length in final length units.

Introduced before R2006a

Was this topic helpful?