[問題] 要怎麼分開貯存的元素已回收
%EX:
A=[1 2 3 4 5];
there=fopen('easy.txt','w');
fprintf(there,'%i',A);
fprintf(there,'\n');
fclose(there);
%easy.text
%12345
%現在我想讀入easy.text裡面的元素卻是12345
%而不是1 2 3 4 5
%就是要怎麼加入[ ]到每個元素之間哩
謝謝大家~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.134.204.130
→
11/05 20:15, , 1F
11/05 20:15, 1F
→
11/05 20:19, , 2F
11/05 20:19, 2F
推
11/05 20:58, , 3F
11/05 20:58, 3F
→
11/05 21:31, , 4F
11/05 21:31, 4F