Revision 495
(checked in by cbc, 12 years ago)
|
Initial import of Stark code.
|
Line | |
---|
1 |
<TITLE>/</TITLE> |
---|
2 |
<BODY> |
---|
3 |
<A HREF = "index.html">[Index for ./IO_Functions]</A> |
---|
4 |
<A HREF = "../index.html">[Return to Master Index]</A> |
---|
5 |
<H1>write_bat</H1> |
---|
6 |
<H2>(./IO_Functions/write_bat.m)</H2> |
---|
7 |
<HR><H3>Function Synopsis</H3> |
---|
8 |
<pre>err=write_bat(z,fname)</pre> |
---|
9 |
<HR><H3>Help text</H3> |
---|
10 |
<pre> |
---|
11 |
WRITE_BAT Write a bathymetry list to disk in .bat format. |
---|
12 |
WRITE_BAT writes an element list to a file, in the .bat |
---|
13 |
format as specified in the Dartmouth/Thayer School/NML |
---|
14 |
File Standards for the Gulf of Maine projects. |
---|
15 |
|
---|
16 |
WRITE_BAT(Z,FNAME) opens a file named FNAME in "write" mode and |
---|
17 |
writes the 1-column bathymetry list Z to the filename in FNAME, |
---|
18 |
including the node counter as the first column of the output |
---|
19 |
file. The user should include the .bat file extension in the |
---|
20 |
filename string FNAME. Both arguments are REQUIRED. |
---|
21 |
|
---|
22 |
WRITE_BAT returns a 0 if successful and a -1 if not. |
---|
23 |
|
---|
24 |
</pre> |
---|
25 |
<HR><H3>Cross-Reference Information</H3>This function is called by |
---|
26 |
<pre><UL> |
---|
27 |
<LI><A HREF = "../4.IO_Functions/writegrid.html">writegrid</A> ./IO_Functions/writegrid.m</LI> |
---|
28 |
</UL></pre> |
---|
29 |
<HR> |
---|
30 |
Produced by <A HREF="http://www.nd.edu/Courses/kantor/matlab/mat2html">mat2html</A> on Tue Feb 2 16:15:45 EST 1999 |
---|
31 |
<BR> |
---|
32 |
Cross-Directory links are: OFF<BR> |
---|
33 |
</BODY> |
---|