Info
This question is closed. Reopen it to edit or answer.
Somebody help me. thanks
2 views (last 30 days)
Show older comments
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
Answers (1)
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.
0 Comments
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!