Daniel@0: function val = get(a, propName) Daniel@0: % GET Get properties from the MIRtemporal object Daniel@0: % and return the value Daniel@0: Daniel@0: switch propName Daniel@0: case 'Time' Daniel@0: val = get(a,'Pos'); Daniel@0: case 'Centered' Daniel@0: val = a.centered; Daniel@0: case 'NBits' Daniel@0: val = a.nbits; Daniel@0: otherwise Daniel@0: val = get(mirdata(a),propName); Daniel@0: end