Text File IO for Non-uniform Data

版本 1.0.0.0 (640 字节) 作者: John McArthur
Takes a non-uniform text file and imports it similar to Excel import function.
2.6K 次下载
更新时间 2005/6/29

无许可证

If you have a program that is outputting a data file with headers and blank lines, and if the exact order and location of those headers and blank lines varies from data set to data set, then it might be nice to read in a data file similar to how Excel does it. Each delimitted object, whether an ascii text object or an ascii numeric object, will get its own cell in a Matrix. I couldn't find how to do this simply, so I figured out how to do it with this little code. This is a quick way to sort out a file. It seems like there should be an easier way to so this, but I couldn't figure it out. If you have any advice on easier/faster solutions, please let me know.

johnnyfisma@hotmail.com

引用格式

John McArthur (2024). Text File IO for Non-uniform Data (https://www.mathworks.com/matlabcentral/fileexchange/7933-text-file-io-for-non-uniform-data), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R12
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Text Files 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0