tomwalters@0: % method of class @parameter tomwalters@0: % bleeck@3: % (c) 2011, University of Southampton bleeck@3: % Maintained by Stefan Bleeck (bleeck@gmail.com) bleeck@3: % download of current version is on the soundsoftware site: bleeck@3: % http://code.soundsoftware.ac.uk/projects/aimmat bleeck@3: % documentation and everything is on http://www.acousticscale.org tomwalters@0: function entry=getentrybyhandle(param,hand) tomwalters@0: tomwalters@0: tomwalters@0: cont=param.entries; tomwalters@0: nrent=length(cont); tomwalters@0: tomwalters@0: % first search for the exact fit tomwalters@0: for i=1:nrent tomwalters@0: if isfield(cont{i},'handle') tomwalters@0: for j=1:length(cont{i}.handle) tomwalters@0: if cont{i}.handle{j}==hand tomwalters@0: entry=cont{i}; tomwalters@0: return tomwalters@0: end tomwalters@0: end tomwalters@0: end tomwalters@0: end tomwalters@0: tomwalters@0: entry=[];