| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
frewind(fileID)
frewind(fileID) sets the file position indicator to the beginning of a file. fileID is an integer file identifier obtained from fopen.
If the file is on a tape device and the rewind operation fails, frewind does not return an error message.
frewind(fileID) is equivalent to:
fseek(fileID, 0, 'bof');
fclose | feof | ferror | fopen | fseek | ftell
![]() | freqspace | fscanf | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |