fseek
- :
status =fseek(fid, offset, origin)¶ Move the position of the file fid by offset bytes.
origin is
"bof"(or -1),"cof"(0) or"eof"(1). Origin names are case-sensitive lowercase only.Returns 0 on success and -1 if the position is outside the file; a failed seek leaves the previous position unchanged.