[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help-me. How do I read the data from the first and second columns fr
From: |
PetrSt |
Subject: |
Re: Help-me. How do I read the data from the first and second columns from a file in this format in Octave ? |
Date: |
Thu, 21 Mar 2013 01:54:14 -0700 (PDT) |
Try
fid = fopen('testik.txt','r');
C = textscan (fid, '%f %f %*f %*f %s %s','delimiter','
','multipledelimsasone','on')
fclose(fid)
Note, C is cell and strings are read into nested cell.
--
View this message in context:
http://octave.1599824.n4.nabble.com/Help-me-How-do-I-read-the-data-from-the-first-and-second-columns-from-a-file-in-this-format-in-Octav-tp4651077p4651091.html
Sent from the Octave - General mailing list archive at Nabble.com.