GET get mfir properties. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% DESCRIPTION: GET get mfir properties. CALL: get(mfir) val = get(mfir, property); name = get(mfir, 'name'); fs = get(mfir, 'fs'); ntaps = get(mfir, 'ntaps'); a = get(mfir, 'a'); gd = get(mfir, 'gd'); gain = get(mfir, 'gain'); history = get(mfir, 'histout'); infile = get(mfir, 'infile'); plist = get(mfir, 'plist'); created = get(mfir, 'created'); version = get(mfir, 'version'); VERSION: $Id: get.html,v 1.14 2008/03/31 10:27:39 hewitson Exp $ HISTORY: 30-01-2007 M Hewitson Creation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0001 function val = get(varargin) 0002 % GET get mfir properties. 0003 % 0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0005 % 0006 % DESCRIPTION: GET get mfir properties. 0007 % 0008 % CALL: get(mfir) 0009 % val = get(mfir, property); 0010 % name = get(mfir, 'name'); 0011 % fs = get(mfir, 'fs'); 0012 % ntaps = get(mfir, 'ntaps'); 0013 % a = get(mfir, 'a'); 0014 % gd = get(mfir, 'gd'); 0015 % gain = get(mfir, 'gain'); 0016 % history = get(mfir, 'histout'); 0017 % infile = get(mfir, 'infile'); 0018 % plist = get(mfir, 'plist'); 0019 % created = get(mfir, 'created'); 0020 % version = get(mfir, 'version'); 0021 % 0022 % VERSION: $Id: get.html,v 1.14 2008/03/31 10:27:39 hewitson Exp $ 0023 % 0024 % HISTORY: 30-01-2007 M Hewitson 0025 % Creation 0026 % 0027 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 0028 0029 VERSION = '$Id: get.html,v 1.14 2008/03/31 10:27:39 hewitson Exp $'; 0030 CATEGORY = 'Helper'; 0031 DEFAULT_PLIST = plist('property', ''); 0032 0033 val = generic_get(varargin{1}, varargin{2}, DEFAULT_PLIST, VERSION, CATEGORY);