Csvwrite with numbers larger than 7 digits

前端 未结 1 664
有刺的猬
有刺的猬 2021-01-13 01:01

So, I have a file that\'s designed to parse through a rather large csv file to weed out a handful of data points. Three of the values (out of 400,000+) within the file is li

相关标签:
1条回答
  • 2021-01-13 01:37

    Use dlmwrite with a precision argument, such as %i. The default delimiter is a comma, just like a CSV file.

    dlmwrite(filename, data, 'precision', '%i')
    
    0 讨论(0)
提交回复
热议问题