annotate toolboxes/MIRtoolbox1.3.2/MIRToolbox/@mirstruct/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 v = get(a,varargin)
wolffd@0 2 % GET Get properties from the MIRstruct object and return the value
wolffd@0 3
wolffd@0 4 switch varargin{1}
wolffd@0 5 case 'Fields'
wolffd@0 6 v = a.fields;
wolffd@0 7 case 'Data'
wolffd@0 8 v = a.data;
wolffd@0 9 case 'Tmp'
wolffd@0 10 v = a.tmp;
wolffd@0 11 case 'Stat'
wolffd@0 12 v = a.stat;
wolffd@0 13 otherwise
wolffd@0 14 v = get(mirdesign(a),varargin{:});
wolffd@0 15 end