Home > classes > @tsdata > get.m

get

PURPOSE ^

GET get tsdata properties.

SYNOPSIS ^

function val = get(ts, propName)

DESCRIPTION ^

 GET get tsdata properties.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 DESCRIPTION: GET get tsdata properties.

 CALL:        name    = get(ts, 'name');
              fs      = get(ts, 'fs');
              x       = get(ts, 'x');
              y       = get(ts, 'y');
              nsecs   = get(ts, 'nsecs');
              t0      = get(ts, 't0');
              xunits  = get(ts, 'xunits');
              yunits  = get(ts, 'yunits');
              created = get(ts, 'created');
              version = get(ts, 'version');

 VERSION: $Id: get.html,v 1.14 2008/03/31 10:27:36 hewitson Exp $

 HISTORY: 30-01-07 M Hewitson
             Creation

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function val = get(ts, propName)
0002 % GET get tsdata properties.
0003 %
0004 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0005 %
0006 % DESCRIPTION: GET get tsdata properties.
0007 %
0008 % CALL:        name    = get(ts, 'name');
0009 %              fs      = get(ts, 'fs');
0010 %              x       = get(ts, 'x');
0011 %              y       = get(ts, 'y');
0012 %              nsecs   = get(ts, 'nsecs');
0013 %              t0      = get(ts, 't0');
0014 %              xunits  = get(ts, 'xunits');
0015 %              yunits  = get(ts, 'yunits');
0016 %              created = get(ts, 'created');
0017 %              version = get(ts, 'version');
0018 %
0019 % VERSION: $Id: get.html,v 1.14 2008/03/31 10:27:36 hewitson Exp $
0020 %
0021 % HISTORY: 30-01-07 M Hewitson
0022 %             Creation
0023 %
0024 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0025 
0026 VERSION  = '$Id: get.html,v 1.14 2008/03/31 10:27:36 hewitson Exp $';
0027 CATEGORY      = 'Helper';
0028 DEFAULT_PLIST =  plist('property', '');
0029 
0030 val = generic_get(ts, propName, DEFAULT_PLIST, VERSION, CATEGORY);

Generated on Mon 31-Mar-2008 12:20:24 by m2html © 2003