tomwalters@0: function un=unit(name,fullname,converter); tomwalters@0: tomwalters@0: tomwalters@0: str.name=name; % the name of the unit tomwalters@0: str.fullname=fullname; % the long name of the unit tomwalters@0: str.converter=converter; % the converter tomwalters@0: tomwalters@0: un=class(str,'unit');