help-octave
[Top][All Lists]
Advanced

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

Re: Loading .m file


From: Doug Stewart
Subject: Re: Loading .m file
Date: Tue, 9 Aug 2011 07:55:02 -0400



On Tue, Aug 9, 2011 at 7:25 AM, pavan padmashali <address@hidden> wrote:
Hi!
i'm a beginner in Octave.

I want to run .m file in Octave on windows. Current directory :C:\Octave\3.2.4_gcc-4.4.0\bin

I saved the code :
clear;
a=10;
b=20;
c=a+b

in runm.m file and saved it in the current directory.

when i try to run the file by >:runm

it shows an error: "runm" undefined near line 12 column 1.

What should i do in order to run the .m file?

Thanks in advance.

_


If you type ( at the octave prompt) 
pwd

(present working directory)

It will show you where octave is looking for your file.


Doug

reply via email to

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