| MATLAB Function Reference | ![]() |
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
| freqspace | fscanf | ![]() |
© 1994-2005 The MathWorks, Inc.