wolffd@0: function val = get(a, propName) wolffd@0: % GET Get properties from the MIRsimatrix object wolffd@0: % and return the value wolffd@0: wolffd@0: switch propName wolffd@0: case 'DiagWidth' wolffd@0: val = a.diagwidth; wolffd@0: case 'Graph' wolffd@0: val = a.graph; wolffd@0: case 'Branch' wolffd@0: val = a.branch; wolffd@0: otherwise wolffd@0: val = get(mirdata(a),propName); wolffd@0: end