frewind

Purpose

Rewind an open file.

Synopsis

frewind(fid)

Description

frewind(fid) sets the file pointer to the beginning of the file with identifier fid.

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

See Also

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

(c) Copyright 1994 by The MathWorks, Inc.