Length Conversion
R2026bConvert from length units to desired length units
Libraries:
Aerospace Blockset /
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 port labels change based on the input and output units selected from the Initial unit and the Final unit lists.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"aerolibconvert2/Length Conversion"
Example: add_block("aerolibconvert2/Length Conversion","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced before R2006a
