roithresh - returns / sets roithresh value for object $Id$
0001 function h = roithresh(obj, val) 0002 % roithresh - returns / sets roithresh value for object 0003 % 0004 % $Id$ 0005 0006 if nargin > 1 0007 if val < 0 | val > 1 0008 error('Value must be between 0 and 1'); 0009 end 0010 obj.roithresh = val; 0011 h = obj; 0012 else 0013 h = obj.roithresh; 0014 end