fprintf 函數可將資料依格式指定字串來寫入ASCII 檔案,其使用語法如下: ... 'Table of square root:\r\n'); fprintf(fid, '%2.0f => %10.6f\r\n', y); fclose(fid); ...
確定! 回上一頁