医学图像处理matlab工具箱

源代码在线查看: popset.m

软件大小: 1562 K
上传用户: xiaoexiao
关键词: matlab 医学图像 工具箱
下载地址: 免注册下载 普通下载 VIP

相关代码

				function popset(handle,prop)				% POPSET - pop values for a property from a value stack.				%				% POPSET(HANDLE, PROP) will restore a prevously HGPUSHED property value.				%												  %nargchk(2,2,'wrong number of arguments.');								  proplist=fieldnames(get(handle(1)));				  prop=proplist{strcmpi(prop,proplist)};								  appstr = [prop '_hgstack'];								  for k=1:prod(size(handle))				    				    olds = getappdata(handle(k),appstr);								    if length(olds) 				      error(['Nothing left to pop for property ' prop '.']);				    end								    set(handle(k),prop,olds{1});				    setappdata(handle(k),appstr,olds{2:end});								  end							

相关资源