Home > marsbar > @maroi > roithresh.m

roithresh

PURPOSE ^

roithresh - returns / sets roithresh value for object

SYNOPSIS ^

function h = roithresh(obj, val)

DESCRIPTION ^

 roithresh - returns / sets roithresh value for object

 $Id$

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

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

Generated on Wed 11-May-2022 16:26:09 by m2html © 2003-2019