*.txt read
版本 1.0.0.0 (1.6 KB) 作者:
Giuliano Langella
This function reads a tab delimited txt file into a cell array.
The file to be imported can have 1 or more both column and/or row header lines. You can import tab delimited text files in which textual data is grouped all at the starting rows and columns and all numerical data fill the rest of the file.
If you have troubles don't hesitate to contact me.
Example of *.txt file:
t t t t t t % 1st column header
t t t t t t % 2nd column header
t t 1 1 1 1
t t 2 2 2 2.
| | |
| | numerical data
| 2nd row header
1st row header
引用格式
Giuliano Langella (2024). *.txt read (https://www.mathworks.com/matlabcentral/fileexchange/23890-txt-read), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2007a
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Low-Level File I/O 的更多信息
标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |