matlabDigitalSigalProcess内有文件若干

源代码在线查看: delete.m

软件大小: 2465 K
上传用户: pipiooxx
关键词: matlabDigitalSigalProcess
下载地址: 免注册下载 普通下载 VIP

相关代码

				function delete(obj)
				
				%   Author: T. Krauss
				%   Copyright (c) 1988-98 by The MathWorks, Inc.
				%   $Revision: 1.2 $
				
				obj = struct(obj);
				for i = 1:length(obj)
				    ax = get(obj(i).h,'parent');
				    fig = get(ax,'parent');
				    ud = get(fig,'userdata');
				    
				    ind = find(obj(i).h == [ud.Objects.fdline.h]);
				    if isempty(ind)
				        error('Not a valid object')
				    end
				        
				    objud = get(obj(i).h,'userdata');
				    
				    delete(obj(i).h)
				    
				    ud.Objects.fdline(ind) = [];
				    
				    set(fig,'userdata',ud)
				end
				
							

相关资源