作者chen1212 (頭不大的大頭)
看板MATLAB
標題[問題]請問如何把讀入的圖輸出到txt檔
時間Tue Dec 17 17:17:34 2013
大家好
往上爬了很多文
也用了
save('檔名.txt','matrix','-ascii');
可是我讀入的圖片好像太大還是怎樣
他寫說
Warning: Attempt to write an unsupported data type to an ASCII file.
Variable 'x' not written to file
因為我讀入時他跑出來的矩陣跑很久
不知道是不是這樣子無法寫入
還是還有其他方法呢
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 140.127.114.164
※ 編輯: chen1212 來自: 42.71.161.198 (12/17 18:14)
1F:→ aada:用fopen, 然後一個值一個值寫進去 12/18 08:22