help-octave
[Top][All Lists]
Advanced

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

Re: Matlab to Octave - problem wih the conversion


From: Istan
Subject: Re: Matlab to Octave - problem wih the conversion
Date: Thu, 4 Aug 2016 06:20:52 -0700 (PDT)

I have tried this code :

clear;
ncols = 7;  # number of columns in file
nhead = 1; # number of header lines here: x1 x2 x3 x4 x5 x6 x7
data = txtread ("1.txt", "%d", "headerlines", nhead);
data = reshape (data, ncols, length(data) / ncols).' 

It returns me this following error :

error: 'txtread' undefined near line 4 column 8
error: called from
    test3 at line 4 column 6


I do not want to take that risk, so can I canceled my first post without
cancel the others ?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Matlab-to-Octave-problem-wih-the-conversion-tp4678981p4679007.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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