医学图像处理matlab工具箱

源代码在线查看: pushset.m

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

相关代码

				function pushset(handle,prop,value)				% PUSHSET - push new properties onto a value stack.				%				% PUSHSET(HANDLE, PROP, VALUE) will take the old value of PROP for				% HANDLE, and save it on a stack associated with HANDLE.  It then				% assigns VALUE as the new value.				%								  %nargchk(3,3,'wrong number of arguments.');								  proplist=fieldnames(get(handle(1)));				  prop=proplist{strcmpi(prop,proplist)};				  appstr = [prop '_hgstack'];								  for k=1:prod(size(handle))								    oldv = get(handle(k),prop);				    olds = getappdata(handle(k),appstr);				    set(handle(k),prop,value);				    setappdata(handle(k),appstr,{ oldv olds });				    				  end							

相关资源