help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

running script files


From: Christoph Dalitz
Subject: running script files
Date: Mon, 16 Feb 2004 08:44:59 +0100

Hello,

while generally using the trick of a dummy "1;" statement in the first
lines of my octave scripts (as recommended in the documentation), I
wonder whether there is some Octave statement that explicitly runs
an octave script from the octave prompt. Something like

        octave> run myscript.m
or
        octave> run("myscript.m")

This would allow to run scripts with special characters in the filename
(like "example-1.2.m") and would make the use of scripts independant from
octave's belief whether it is a script or a function file.

Thanks,

Christoph



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

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