|
| From: | Rick T |
| Subject: | [Octave-bug-tracker] [bug #31895] error: run: file must exist and be a valid Octave script file |
| Date: | Wed, 15 Dec 2010 22:51:29 +0000 |
| User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Ubuntu/10.04 Chromium/8.0.552.215 Chrome/8.0.552.215 Safari/534.10 |
URL:
<http://savannah.gnu.org/bugs/?31895>
Summary: error: run: file must exist and be a valid Octave
script file
Project: GNU Octave
Submitted by: ratulloch
Submitted on: Wed 15 Dec 2010 10:51:28 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name: Rick T
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.2.3
Operating System: GNU/Linux
_______________________________________________________
Details:
Greetings All
I get this error message when I try and run an m file that creates another m
file with an equation in it.
Example: I use one m file to create another m file called test.m that has
the equation in it "y=vert*sin(24);"
then I try and run it I get
>>> run('/home/rat/Documents/octave/eq_research/aa/test.m')
error: run: file must exist and be a valid Octave script file
>>>error: called from:
error: /usr/share/octave/3.2.3/m/miscellaneous/run.m at line 46, column 2
The m file does exist it is created using the fprintf(fid) commands. I
notice that If I open the m file that is created (test.m) and add a space and
delete the space then save it the command will work does anyone know of a
better work around then opening each created m file. It's as though the file
is created but it cant see it. Does anyone have a work around
here's my version
GNU Octave Version 3.2.3
GNU Octave License: GNU General Public License
Operating System: Linux 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 10:14:11
UT
C 2010 x86_64
----------------------------------------------------------------------
Package Name | Version | Installation directory
--------------+---------+-----------------------
audio *| 1.1.4 | /usr/share/octave/packages/3.2/audio-1.1.4
multicore *| 0.2.15 | /usr/share/octave/packages/3.2/multicore-0.2.15
time *| 1.0.9 | /usr/share/octave/packages/3.2/time-1.0.9
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?31895>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |