annotate toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirmatrix/get.m @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
rev   line source
wolffd@0 1 function val = get(a, propName)
wolffd@0 2 % GET Get properties from the MIRsimatrix object
wolffd@0 3 % and return the value
wolffd@0 4
wolffd@0 5 switch propName
wolffd@0 6 case 'DiagWidth'
wolffd@0 7 val = a.diagwidth;
wolffd@0 8 otherwise
wolffd@0 9 val = get(mirdata(a),propName);
wolffd@0 10 end