Info

此问题已关闭。 请重新打开它进行编辑或回答。

Somebody help me. thanks

1 次查看(过去 30 天)
Gemalyn Apostol
Gemalyn Apostol 2016-10-26
关闭: MATLAB Answer Bot 2021-8-20
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 个)

John D'Errico
John D'Errico 2016-10-26
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!

Translated by