matlab读取文本文件数据

收录时间:2020-08-04
资源分类:Matlab 工具:MATLAB 7.12 (R2011a)

matlab读取文本文件数据

Read Text File Data

This is a small function I wrote to solve the eternal nuisance or trying to read in experimental data from a bunch of text files containing similar data.

 

e.g.

solution_001.txt

solution_002.txt

.

.

.

solution_00457.txt

 

All having a similar data structure in them.

 

The delimiters and the type of data can be tweaked within the code. This is a little hard-coded to meet one of my demands. Please notice that there are 4 parts of reading in the data and some stray characters such as '('. These can obviously be tweaked to suit specific needs. This function should give a general structure for such data reading from multiple files.

文件下载列表
ReadTxtData.zip (2.62KB)  
附件内容(只显示2中的1个)
ReadTxtData.m  
更多

目前尚无评论

用户反馈   关于我们
Copyright (©) ZHIHUISHI.COM 2013 All Rights Reserved.
京ICP备18060134号-2