frewind - Move file position indicator to beginning of open file

Syntax

frewind(fid)

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

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS