Units Conversion Toolbox

This toolbox attaches units to Matlab variables and enables unit conversion.

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Cite As

John McDermid (2026). Units Conversion Toolbox (https://ch.mathworks.com/matlabcentral/fileexchange/29621-units-conversion-toolbox), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Unit Converters

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

This update corrects the addition and subtraction of dimensionless quantities (previously reported an error) and also corrects the definition of a weber.

Download
1.4.0

I made an omission on the last submission and no file (or the old file) was attached. This is the correct file!

Download
1.3.0

This update was submitted and approved but did not end up in Matlab Central. Instead, the old one was there.

Download
1.1.0

This program has been updated to resolve a problem that appeared in R2011b.
R2011B used "Units" as a built in function in a toolbox and does not check to see if you have the toolbox before throwing an error. "Units" has been renamed to "unit".

Download
1.0.0

Download