tomwalters@0: function un=getunit(uba,i) tomwalters@0: % get the unit with that number tomwalters@0: un=uba.units{i};