Codes

Home
set_plot
setplotlib
aiaa-pretty
thesis-umich
units

units Home

Home
Dowloads

units Versions

Version 0.9.0
Version 0.8.0

units Source

Major versions
Summary
Full history
Source

units External links

Bitbucket
Gitweb
Wiki
Known issues

units

Extensive unit conversion package for MATLAB

The most recent stable version is units 0.9.0. It is distributed as a ZIP archive so that it is easy to use on all the operating systems where MATLAB works. This version has been updated to include CGS (centimeter-gram-second) and FSS (foot-slug-second) basis systems.

Instructions

After clicking the link above to download the compressed folder, unzip the file. Then open MATLAB and navigate to wherever the uncompressed files are. In that folder, run the command

>> install

from the MATLAB command line. It will proceed through a list of options for the installation. Specifically, it will ask one to five questions about which type of installation you would prefer. However, the installer attempts to find out which options will work on your computer before asking the related questions.

The default installation simply copies the relevant files to a location on your hard drive and appends a command to your startup.m file to tell MATLAB about that folder each time it starts. This folder can be found by entering the command

>> userpath

in MATLAB, and then adding set_plot to the end of that. Alternatively, you can download the files and only load them when you desire, or you can avoid copying the files to that folder altogether and instead utilize the author's most recent version.

To make life a little bit easier, you can launch the file install.sh (in Apple or Linux) or the file install.cmd (in Windows) to start the installer automatically. This usually can be accomplished by double clicking on the file in any file browser, but it may not always work.

Valid XHTML 1.1

Valid CSS