有一文字檔test.txt 如下: 1 4 9 16 25. 36 49 64 81 100. 欲使用fscanf 指令讀取其內容,可輸入如下:. fid = fopen('test.txt', 'r');; myData = fscanf(fid, '%g'); ...
確定! 回上一頁