0001 function cm2labFile(cmObj, labFile) 0002 0003 fid=fopen(labFile, 'w'); 0004 for i=1:length(cmObj.word) 0005 for j=1:length(cmObj.word(i).phone) 0006 fprintf(fid, '%d %d %s\n', cmObj.word(i).phone(j).time(1), cmObj.word(i).phone(j).time(2), cmObj.word(i).phone(j).name); 0007 end 0008 end 0009 fclose(fid);