Physical Units Toolbox

Enables operations using hundreds of supported physical units of measurement and physical constants.

https://github.com/sky-s/physical-units-for-matlab

Download
Download

General Information

MATLAB Release Compatibility

  • Compatible with R2016b and later releases

Platform Compatibility

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

Constants updates for the 2019 redefinition of SI base units.
Many derived constants updated with defining equations.

Download
3.0.0

toolbox, help text.

Download
2.10.0

New str2u and surf methods. A few more units added.
Much more emphasis on using the u.m classdef, with documentation updated to reflect.

Download
2.6.0

added sort method

Download
2.5.0

mm-g-s common system added.

Download
2.4.0

upload error

Download
2.3.0

Added atan2, plot3, cat, plus other minor tweaks.

Download
2.2.0

Plot method updated for R2015b, added isfinite and validateattributes methods, added u classdef functionality.

Download
2.1.0

Preferred display units, updated documentation, some new methods.

Download
1.18.0

Fixed error with Rankine.

Download
1.17.0

Class name change!
Methods added: disp, num2str, cumtrapz, numel, isempty, reshape.
Plot method with auto-labeling axes with units.
A few more units added.

Download
1.16.0

New, simpler, and fuller-functioning methods.

Download
1.15.0

Added ability to switch base unit systems; added many more units; added 'dummy' unitsOf and u2num functions to keep from crashing when calling with non-DimensionedVariable arguments (addresses user concern)

Download
1.14.0

added pressure, angle, and angular velocity units; added static method for working with string representations of units.

Download
1.13.0

added features to unitslist method

Download
1.12.0

Improved unitslist; added kp force unit.

Download
1.11.0

Added new static method 'unitslist' that makes it easy to drastically speed up code developed using the class.

Download
1.10.0

Fixed bug in displaying units with no numerator

Download
1.8.0

New display method looks much better (in response to comments on rob's original post); new classdef structure

Download
1.6.0

new subsasgn method; new html documentation; reworked help blocks; other updates

Download
1.4.0

Documentation and examples; added functionality to u2num; added meshgrid function

Download
1.3.0

added some units

Download
1.2.0

added many units and did a lot of checking an updating so that more units meet their exact definitions

Download
1.0.0

Download
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.