Daniel@0: function val = get(a, propName) Daniel@0: % GET Get properties from the MIRchromagram object Daniel@0: % and return the value Daniel@0: Daniel@0: switch propName Daniel@0: case 'Positions' Daniel@0: val = get(mirdata(a),'Data'); Daniel@0: case 'Dimensions' Daniel@0: val = get(mirdata(a),'Pos'); Daniel@0: otherwise Daniel@0: val = get(mirdata(a),propName); Daniel@0: end