FUNCTION REFERENCE

frewind

Go back to the start of a file.

Go back to the start of a file.

Syntax

frewind(fid)

Also clears the end-of-file flag.

Example

frewind(fid); ftell(fid)   % 0

Differences from MATLAB: as in MATLAB, frewind has no output; x = frewind(fid)

fails with "This command does not return a value" instead of "Too many output

arguments.".

These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.