MATLAB 中对文件进行行读取操作
发布时间
阅读量:
阅读量
function readData_write()
%从指定行开始读取数据
filePath='C:\Second_teeth\data\distantce\Differnce_distance\sanduan_eventqiefen_2\Zm\*.txt';
pathString='C:\Second_teeth\data\distantce\Differnce_distance\sanduan_eventqiefen_2\Zm';
%save_pathString='D:\data\tooth\\seg_small_txtfile\Zm'; %%d3无滤波 d2有滤波 70-80%%;
save_pathString='C:\Second_teeth\data\distantce\Differnce_distance\sanduan_event$\Zm';
fileInfo=directory(filePath);
totalFiles=20;
for loop_index=1:totalFiles
currentFileName=fileInfo(loop_index).name; %%从cell数据中获取name字段 即完整的文件名称 Zhao-zhang Syam LWF Su
components=strsplit(cu
全部评论 (0)
还没有任何评论哟~
