gets/sets verbose flag for phiw_wavelet object FORMAT (get) val = verbose(o); FORMAT (set) o = verbose(o, val); $Id: verbose.m,v 1.1 2004/09/26 07:49:12 matthewbrett Exp $
0001 function res = verbose(o, val) 0002 % gets/sets verbose flag for phiw_wavelet object 0003 % FORMAT (get) val = verbose(o); 0004 % FORMAT (set) o = verbose(o, val); 0005 % 0006 % $Id: verbose.m,v 1.1 2004/09/26 07:49:12 matthewbrett Exp $ 0007 0008 if nargin < 2 0009 % get 0010 res = o.verbose; 0011 else 0012 % set 0013 o.verbose = val; 0014 res = o; 0015 end