[Top][All Lists]

[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


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



Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

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