Scilab 6.0.1
- Scilab Help
- Matlab to Scilab Conversion Tips
- Matlab-Scilab equivalents
- F
- factor (Matlab function)
- false (Matlab function)
- fclose (Matlab function)
- feof (Matlab function)
- ferror (Matlab function)
- feval (Matlab function)
- fft (Matlab function)
- fftshift (Matlab function)
- fgetl (Matlab function)
- fgets (Matlab function)
- fileparts (Matlab function)
- filesep (Matlab function)
- find (Matlab function)
- findstr (Matlab function)
- fix (Matlab function)
- fliplr (Matlab function)
- flipud (Matlab function)
- floor (Matlab function)
- fopen (Matlab function)
- for (Matlab function)
- format (Matlab function)
- fprintf (Matlab function)
- fread (Matlab function)
- frewind (Matlab function)
- fscanf (Matlab function)
- fseek (Matlab function)
- ftell (Matlab function)
- full (Matlab function)
- fullfile (Matlab function)
- function (Matlab function)
- fwrite (Matlab function)
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
fseek (Matlab function)
Set file position indicator
Matlab/Scilab equivalent
Matlab | Scilab |
fseek |
Particular cases
Scilab and Matlab functions differ by the flag which indicate the origin of the position indicator, see examples below.
Note that order of input value is different. |
Examples
Matlab | Scilab |
% File beginning: fseek(fid,offset,'bof') fseek(fid,offset,-1) % Current position: fseek(fid,offset,'cof') fseek(fid,offset,0) % File end: fseek(fid,offset,'eof') fseek(fid,offset,1) |
// File beginning: fseek(offset,fid,"set") // Current position: fseek(offset,fid,"cur") // File end: fseek(offset,fid,"end") |
Report an issue | ||
<< fscanf (Matlab function) | F | ftell (Matlab function) >> |