Unit Conversion Tools

Command line, GUI, & Simulink block to convert physical units

You are now following this Submission

Command line, GUI, & Simulink block to convert physical units. It is hoped that relationships between units are specified in an easy to extend manner.
unit_conversion is an m-script that allows one to convert physical units from the command line or a script. It can also provide lists of available transformations.

unit_conversion_gui is a simple graphical interface to unit_conversion.

lib_unit_conversion is a Simulink library block that uses unit_conversion to determine appropriate gains & offsets.

Cite As

Bob Kagy (2026). Unit Conversion Tools (https://se.mathworks.com/matlabcentral/fileexchange/16224-unit-conversion-tools), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Unit Conversion, Units (updated), CHANGEUNIT, Unit Conversion

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Just going through the update process.