| MATLAB Function Reference | Search  Help Desk |
| frewind | See Also |
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 afid associated with a tape device may not work even though frewind does not generate an error message.
See Also
fclose, ferror, fopen, fprintf, fread, fscanf, fseek, ftell, fwrite