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: Juan Pablo Carbajal
Subject: Re: Matlab to Octave - problem wih the conversion
Date: Thu, 4 Aug 2016 16:10:34 +0200

On Thu, Aug 4, 2016 at 3:20 PM, Istan <address@hidden> wrote:
> 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.
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/help-octave

Sorry, the function is "textread". Check

help textread

to know how to use it



reply via email to

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