g alt="^" border="0" src="../../up.png"></a></h2>
<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function erg=check3dfile(fname)</a>
0002 
0003 <span class="comment">% CHECK3DFILE - Check 3d data file for file type</span>
0004 <span class="comment">%   type=check3dfile(filename)</span>
0005 <span class="comment">%     1 - for res3dinv data files</span>
0006 <span class="comment">%     2 - for inv3d data</span>
0007 <span class="comment">%     3 - for raw data file</span>
