[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help me with these Errors
From: |
Saba Karim Shah |
Subject: |
Help me with these Errors |
Date: |
Fri, 5 Mar 2004 23:43:24 -0800 (PST) |
Hi,
I would like to know if someone can help me debug this
error. I am a beginner with Octave and I have
installed Octave 2.1.50 on Windows XP Pro. I have this
file which I am trying to run. The file as per the
author is trouble free and not to forget the author
has made the filed using Octave for Linux. When I run
the file the following error is generted.
error: fprintf: invalid stream number = -1
error: evaluating if command near line 66, column 1
error: near line 70 of file
`/cygdrive/c/utils/temp/octave-simulation/rsvp.m'
The lines where the error points to are:
# open the log files and write the first line showing
the order
logfile = fopen ("logs/simulation.log", "a+",
"native");
if (mp)
fprintf(logfile, "# mp, ");
else
fprintf(logfile, "# moid, ");
endif
The value of mp is set to zero in the begining of the
code.
Please help.
Regards,
Saba
__________________________________
Do you Yahoo!?
Yahoo! Search - Find what youre looking for faster
http://search.yahoo.com
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- Help me with these Errors,
Saba Karim Shah <=