<DIV>Hello I am trying to write my Matrix to to a file in ASCII format. I created the matrix using Numeric, the shape is 600x25. here is the code that produces the error below:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp; filehandle = file("MyFile.txt", 'w')<BR>&nbsp;&nbsp;&nbsp; filehandle.write(Matrix)<BR>&nbsp;&nbsp;&nbsp; filehandle.close()</DIV>
<DIV>&nbsp;</DIV>
<DIV>TypeError: Non-character array cannot be interpreted as character buffer.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am assuming this means that 'Matrix' must be a character string and not a matrix. how would I go about converting an array of floats to a character string so I can print this thing to a file? Or is there a better way to do this? thanks!!!</DIV>
<DIV>&nbsp;</DIV>
<DIV>Jeff</DIV>