help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to compare the colums ( 2nd and 3rd) of 2 .csv files based on a


From: Nicholas Jankowski
Subject: Re: How to compare the colums ( 2nd and 3rd) of 2 .csv files based on a condition
Date: Tue, 23 Jun 2020 19:11:26 -0400

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 rows


I 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. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]