[Index for ./IO_Functions]
[Return to Master Index]
write_bat
(./IO_Functions/write_bat.m)
Function Synopsis
err=write_bat(z,fname)
Help text
WRITE_BAT Write a bathymetry list to disk in .bat format.
WRITE_BAT writes an element list to a file, in the .bat
format as specified in the Dartmouth/Thayer School/NML
File Standards for the Gulf of Maine projects.
WRITE_BAT(Z,FNAME) opens a file named FNAME in "write" mode and
writes the 1-column bathymetry list Z to the filename in FNAME,
including the node counter as the first column of the output
file. The user should include the .bat file extension in the
filename string FNAME. Both arguments are REQUIRED.
WRITE_BAT returns a 0 if successful and a -1 if not.
Cross-Reference Information
This function is called by
Produced by mat2html on Tue Feb 2 16:15:45 EST 1999
Cross-Directory links are: OFF