|
From: | Joe Koski |
Subject: | Re: how to debug octave code? |
Date: | Thu, 24 Aug 2006 13:19:05 -0600 |
User-agent: | Microsoft-Entourage/11.2.5.060620 |
I have to give up to debug this problem since I do not have the knowledge and time. It is very strange. After I type load test2.txt and went back my editor, editor will pop up message saying "c:\test2.txt has been changed by another application, do you want to reload?". It seems that Octave changed the file, even though it does not load the data in.Frank,
Thanks
Frank
On 8/23/06, frank wang <address@hidden> wrote:
Are there any way that will help me to find out why octave does not load the data? I do not know why octave treat the test2.txt as empty even though there are data.
Since several people are working on the project using matlab, adding comment lines on top of each data file is not acceptable.
Thanks
Frank
On 8/23/06, Quentin Spencer <address@hidden > wrote:
frank wang wrote:
> Hi,
>
> I can load test1.txt. But I cannot load test2.txt. I did not use
> script. I just typed the following command and none of them load the
> data in.
>
> load('test2.txt')
> load test2.txt
> load "test2.txt"
>
> All commands do not load the data. If I type whos -v, I did not see
> the data.
>
> Are there anyone using gcc 4.1.0 compliling the octave?
I'm using octave-2.9.7-3.fc5 on Fedora Core 5, compiled with
gcc-4.1.1-1.fc5, and I am able to load both files:
octave:1> load test1.txt
octave:2> load test2.txt
octave:3> whos -v
*** local user variables:
Prot Name Size Bytes Class
==== ==== ==== ===== =====
rw- __nargin__ 1x1 8 double
rwd test2 3x1 24 double
rwd x 3x1 24 double
Total is 7 elements using 56 bytes
Quentin
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave
[Prev in Thread] | Current Thread | [Next in Thread] |