Write the coordinates and atom names in a simple file for output.
Example error = coordWriteFile(name,coord,'SEP','my_new_file.pdb')
See Also pdbWriteFile pdbReadFile