Mercurial > hg > aimmat
view aim-mat/tools/units/unit classes/@unitbag/getasraw.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 |
line wrap: on
line source
function rawvalue=getasraw(bag,val,fromunit) % is used in generating units when the raw value is set for the first time uns=bagarray.units; rawunit=getrawunit(bag); for i=1:length(uns) name=getname(uns{i}); if strcmp(fromunit % todo end end