Info

This question is closed. Reopen it to edit or answer.

Somebody help me. thanks

1 view (last 30 days)
Gemalyn Apostol
Gemalyn Apostol on 26 Oct 2016
Closed: MATLAB Answer Bot on 20 Aug 2021
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.

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.

Community Treasure Hunt

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

Start Hunting!