MATLAB Function Reference Previous page   Next Page
frewind

Move file position indicator to beginning of open file

Syntax

Description

frewind(fid) sets the file position indicator to the beginning of the file specified by fid, an integer file identifier obtained from fopen.

Remarks

Rewinding a fid associated with a tape device might not work even though frewind does not generate an error message.

See Also

fclose, ferror, fopen, fprintf, fread, fscanf, fseek, ftell, fwrite


Previous page  freqspace fscanf Next page

© 1994-2005 The MathWorks, Inc.