<< fgetl (Matlab function) F fileparts (Matlab function) >>

Scilabヘルプ >> Matlab to Scilab Conversion Tips > Matlab-Scilab equivalents > F > fgets (Matlab function)

fgets (Matlab function)

Read line from file, keep newline character

Matlab/Scilab equivalent

Matlab Scilab
fgets
fgetstr

Particular cases

Input parameter order is inversed in Scilab compared to Matlab.

Examples

Matlab Scilab
fgets(fid,n)
fgetstr(n,fid)

Report an issue
<< fgetl (Matlab function) F fileparts (Matlab function) >>