help-octave
[Top][All Lists]
Advanced

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

Octave > trying to run external scripts


From: amos martin
Subject: Octave > trying to run external scripts
Date: Sun, 25 Dec 2011 16:12:29 -0800 (PST)

Hello

I am trying to run an external file in Octave and am getting errors.Below are the following steps I am taking.

(1)Create a file and place it at C:\temp\Example1.
(2)Run the command source("c:\\temp\\TestProg1.m")
(3)Get the error message "error : no such file 'c:\temp\TestProg1.m'" and "error: sourcing file'c:\temp\TestProg1.m' "

the program I wrote contains
##
clear all;
a=3;
b=5;
c=a+5;
disp c;

Amos

reply via email to

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