|
From: | Ganesh Kini |
Subject: | Re: How to compare the colums ( 2nd and 3rd) of 2 .csv files based on a condition |
Date: | Wed, 24 Jun 2020 02:08:02 +0200 |
On Tue, Jun 23, 2020 at 6:03 PM Ganesh Kini <ganeshrkini19@gmail.com> wrote:I tried, but it reads only one row and not all the rowsI don't think it should matter on your system, but try:data1 = textscan(file1, "%s,%f,%f,%d\r\n", "HeaderLines", 1, "Delimiter",",")certain text file formats require the extra line-end character. but that's usually only windows systems being MSDOS compatible. the inputs/outputs i showed before were from the files you attached, so I'm not sure what else could be the issue.
[Prev in Thread] | Current Thread | [Next in Thread] |