frewind(fid)
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.
fclose,ferror,fopen,fread,fscanf,fseek,ftell,fwrite,sprintf
(c) Copyright 1994 by The MathWorks, Inc.