void FLfWriteData (const char Fname[], const float x[], int N)


Write a float array in text form to a file


This routine writes float data to a named file. The float data is written to the file as text, with one data value to a line.

The intended use of this routine is to write data to a file in a form that can be edited or imported into other programs. An example would be to write data that can be easily imported into MATLAB, using the MATLAB load command.


-> const char Fname[]
File name for the data
-> const float x[]
Array of N floats
-> int N
Number of elements in x

Author / revision

P. Kabal / Revision 1.12 2005/02/01

See Also


Main Index libtsp