MATLAB Answers

Somebody help me. thanks

1 view (last 30 days)
Gemalyn Apostol
Gemalyn Apostol on 26 Oct 2016
Commented: Walter Roberson on 26 Oct 2016
how to read file consisting of unknown number of lines and a variable number of data on each line. each line starts with an identifier like A3, the identifier always is composed of one letter and one integer.

  1 Comment

Walter Roberson
Walter Roberson on 26 Oct 2016
We need a small sample.

Sign in to comment.

Answers (1)

John D'Errico
John D'Errico on 26 Oct 2016
Learn to use the tools in MATLAB. Some that might be useful MIGHT be:
help fopen
help fgets
help fgetl
help fclose
help textread
read the help for those tools, and TRY IT.
Yes, I know that you want specific code. But you have given very little information. So it is time for you to learn about how to read a data file into MATLAb.


Sign in to comment.