Home > phiwave > @phiw_wvimg > putwave.m

putwave

PURPOSE ^

associates wave object with mat file

SYNOPSIS ^

function wave = putwave(vol,wave)

DESCRIPTION ^

 associates wave object with mat file

 $Id: putwave.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 wave = putwave(vol,wave)
0002 % associates wave object with mat file
0003 %
0004 % $Id: putwave.m,v 1.3 2005/06/05 04:42:22 matthewbrett Exp $
0005 
0006 if nargin < 2
0007   error('Need vol and wave as args');
0008 end
0009 if isstruct(vol),vol = vol.fname;end
0010 if ~ischar(vol), return, end
0011 if ~isa(wave,'phiw_wvimg')
0012   error('Need phiw_wvimg as input');
0013 end
0014 pr_matfilerw(vol,'wave',wave);

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