Home > phiwave > @phiw_wvimg > thin.m

thin

PURPOSE ^

returns object without image included

SYNOPSIS ^

function thinobj = thin(obj, nosavef)

DESCRIPTION ^

 returns object without image included
 FORMAT thinobj = thin(obj, nosavef)

 where nosavef prevents object image save even if there
 have been changes to the object since creation

 $Id: thin.m,v 1.3 2005/06/05 04:42:22 matthewbrett Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function thinobj = thin(obj, nosavef)
0002 % returns object without image included
0003 % FORMAT thinobj = thin(obj, nosavef)
0004 %
0005 % where nosavef prevents object image save even if there
0006 % have been changes to the object since creation
0007 %
0008 % $Id: thin.m,v 1.3 2005/06/05 04:42:22 matthewbrett Exp $
0009   
0010 if nargin < 2
0011   nosavef = 0;
0012 end
0013 if obj.changef & ~nosavef
0014   thinobj = write_wtimg(obj);
0015 else
0016   thinobj = obj;
0017 end
0018 thinobj.img = thinobj.wvol;

Generated on Wed 06-Jul-2005 18:07:21 by m2html © 2003