www.gusucode.com > signal 工具箱matlab源码程序 > signal/@dfilt/@singleton/exportinfo.m
function s = exportinfo(Hd) %EXPORTINFO Export information for the DFILT class. % This should be a private method. % Copyright 1988-2012 The MathWorks, Inc. narginchk(1,1); % Both coefficientnames & coefficientvariables return cell arrays. s.variablelabel = interspace(coefficientnames(Hd)); s.variablename = coefficientvariables(Hd); % DFILTs can be exported as both objects and arrays. s.exportas.tags = {'Coefficients','Objects','System Objects'}; % DFILT object specific labels and names s.exportas.objectvariablelabel = dfiltname(Hd); s.exportas.objectvariablename = dfiltvariable(Hd); % Optional fields (destinations & constructors) if exporting to destinations other % than the 'Workspace','Text-file', or, 'MAT-file'; s.destinations = {'Workspace','Coefficient File (ASCII)','MAT-File','SPTool'}; s.constructors = {'','sigio.xp2coeffile','','sigio.xp2sptool'};