我有一个小区< 6035x1>像这样:
1393
01:36:22,080 --> 01:36:25,482
I'm wearing women's underwear. Ha-ha-ha.
1394
01:36:25,640 --> 01:36:28,211
Oh, my God. Ha-ha-ha.
1395
01:36:28,760 --> 01:36:31,843
Stu, don't freak out,
but you need to look down.
如何写入文件?
答案 0 :(得分:2)
我认为最简单的方法是使用循环。
data = {'one'; 'two'; 'three'; 'four'};
h = fopen('output2.txt','w+');
n = size(data,1);
for i = 1:n
fprintf(h, '%s\r\n', data{i});
end
fclose(h);