ryangray/matlab_uni​ts

A units library for MATLAB with multiple bases and double or unit object data types.

https://github.com/ryangray/matlab_units

You are now following this Submission

A units library based on a my style of having separate files for unit definitions, calling them as functions and they return multiplicative conversion factors from the unit give to the base units (SI by default) rather than a cluttered collection of separate unitXtoUnitY converters. For example, rather than 3*ft2m, you would just use 3*ft. If you then wanted to print a value in inches, rather than using x*m2inch, you would use x/inch. It has a function to support evaluating unit strings and handling temperatures.

Cite As

Ryan Gray (2026). ryangray/matlab_units (https://github.com/ryangray/matlab_units), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.