help fget1 says the function does not exist. I am using Matlab 2017a, what can be the problem?

fget1 is supposed to read lines from a text file, but I get the error message saying that fget1 does not exist. What can be the problem? I downloaded the newest Matlab version but I still have the problem.

 Accepted Answer

You need
fgetl
not
fget1
(that is the lowercase L, not the number one).

More Answers (0)

Asked:

on 10 Aug 2017

Commented:

on 11 Aug 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!