MATLAB: Help with conversions (in/cm/ft)

converting cm/in/ft into cm/in/ft

Need help creating a program that is capable of converting from cm or in or ft into units of cm or in or ft. If incorrect units are input by the program user print an appropriate message and do not perform conversion.
Thanks

Best Answer

If you have the Aerospace toolbox..
try
convlength
or mapping toolbox
distdim
Otherwise you might want to write your own simple script for the same if there is nothing in File Exchange
Some given here: