GET get miir properties. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: GET get miir properties. CALL: get(miir) val = get(miir, property); name = get(miir, 'name'); version = get(miir, 'version'); created = get(miir, 'created'); fs = get(miir, 'fs'); ntaps = get(miir, 'ntaps'); a = get(miir, 'a'); b = get(miir, 'b'); gain = get(miir, 'gain'); infile = get(miir, 'infile'); history = get(miir, 'histin'); history = get(miir, 'histout'); pl = get(miir, 'plist'); VERSION: $Id: get.m,v 1.6 2008/02/11 17:28:45 ingo Exp $ HISTORY: 30-01-2007 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function val = get(varargin) 0002 % GET get miir properties. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: GET get miir properties. 0007 % 0008 % CALL: get(miir) 0009 % val = get(miir, property); 0010 % name = get(miir, 'name'); 0011 % version = get(miir, 'version'); 0012 % created = get(miir, 'created'); 0013 % fs = get(miir, 'fs'); 0014 % ntaps = get(miir, 'ntaps'); 0015 % a = get(miir, 'a'); 0016 % b = get(miir, 'b'); 0017 % gain = get(miir, 'gain'); 0018 % infile = get(miir, 'infile'); 0019 % history = get(miir, 'histin'); 0020 % history = get(miir, 'histout'); 0021 % pl = get(miir, 'plist'); 0022 % 0023 % VERSION: $Id: get.m,v 1.6 2008/02/11 17:28:45 ingo Exp $ 0024 % 0025 % HISTORY: 30-01-2007 M Hewitson 0026 % Creation 0027 % 0028 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0029 0030 VERSION = '$Id: get.m,v 1.6 2008/02/11 17:28:45 ingo Exp $'; 0031 CATEGORY = 'Helper'; 0032 DEFAULT_PLIST = plist('property', ''); 0033 0034 val = generic_get(varargin{1}, varargin{2}, DEFAULT_PLIST, VERSION, CATEGORY);