count = fwrite(fid,A,'precision')
count = fwrite(fid,A,'precision')
writes the elements of matrix A
to the specified file, translating MATLAB values to the specified precision
. The data are written to the file in column order. fid
is a integer file identifier obtained from fopen
. count
is the number of elements successfully written.
The 'precision'
argument specifies the numeric precision of the data. See fread
for a list of valid precision
strings.
fclose
,ferror
,fopen
,fprintf
,fread
,fscanf
,fseek
,ftell
,sprintf
,sscanf
(c) Copyright 1994 by The MathWorks, Inc.