annotate aim-mat/tools/units/unit classes/@unit/unit.m @ 4:537f939baef0 tip

various bug fixes and changed copyright message
author Stefan Bleeck <bleeck@gmail.com>
date Tue, 16 Aug 2011 14:37:17 +0100
parents 74dedb26614d
children
rev   line source
tomwalters@0 1 function un=unit(name,fullname,converter);
tomwalters@0 2
tomwalters@0 3
tomwalters@0 4 str.name=name; % the name of the unit
tomwalters@0 5 str.fullname=fullname; % the long name of the unit
tomwalters@0 6 str.converter=converter; % the converter
tomwalters@0 7
tomwalters@0 8 un=class(str,'unit');