[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to debug octave code?
From: |
frank wang |
Subject: |
Re: how to debug octave code? |
Date: |
Tue, 22 Aug 2006 22:52:26 -0700 |
Hi, Robert,
Thanks for trying to help me.
My problem is when I load a text file, octave does not load in the data. But in another machine, octave can load the same file. The only difference is the gcc compiler version 4.1.0 and 3.4.2. On gcc version 4.1.0, I even can not load a simple file containing only one data: 103.
I tried to using octave to save the data ino a file and when I opened the file, I see some lines commented with #. I can load this file in octave, but matlab will complain. If I delete the line with #, then octave will load nothing without any error messages. When I typed whos -v, I did not see the variable.
Attached are two files. The first one is saved with octave and the second one I deleted the lines starting with # to be compitble with matlab. The second file can be loaded by matlab.
Please see whether you could help me to sove this problem.
Thanks
Frank
On 8/22/06, Robert A. Macy <address@hidden> wrote:
Frank,
I''ve gotten octave to read *anything* in.
Bytes is bytes.
How big is the file, what format?
- Robert -
On Tue, 22 Aug 2006 18:42:10 -0700
"frank wang" <address@hidden> wrote:
> I have found the equivalent debug command in octave.
> Theny are dbg_cont,
> dbg_step, dbg_next.
>
> Since I could not solve the problem that octave does not
> load the data file
> in, I have not tried these command yet.
>
>
> Thanks
>
> Frank
test1.txt
Description: Text document
test2.txt
Description: Text document
- how to debug octave code?, frank wang, 2006/08/18
- Re: how to debug octave code?, Robert A. Macy, 2006/08/18
- Re: how to debug octave code?, frank wang, 2006/08/22
- Re: how to debug octave code?, Robert A. Macy, 2006/08/22
- Re: how to debug octave code?,
frank wang <=
- Re: how to debug octave code?, Dmitri A. Sergatskov, 2006/08/23
- Re: how to debug octave code?, Robert A. Macy, 2006/08/23
- Re: how to debug octave code?, frank wang, 2006/08/23
- Re: how to debug octave code?, Quentin Spencer, 2006/08/23
- Re: how to debug octave code?, frank wang, 2006/08/23
- Re: how to debug octave code?, frank wang, 2006/08/24
- Re: how to debug octave code?, John W. Eaton, 2006/08/24
- Re: how to debug octave code?, frank wang, 2006/08/24
- Re: how to debug octave code?, John W. Eaton, 2006/08/24
- Re: how to debug octave code?, frank wang, 2006/08/24