help-octave
[Top][All Lists]
Advanced

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

Need Help Loading Functions


From: adi89
Subject: Need Help Loading Functions
Date: Wed, 29 Aug 2012 16:43:50 -0700 (PDT)

Hi guys,

I just started using Octave recently.


I made a text file with

"function [y1,y2]= squareAndCubeThisNumber(x)

y1= x^2;
y2=x^3;"

And that's it in a txt file saved as "squareAnd CubeThisNumber.m"

I saved it to a folder, which is the directory recognized by Octave when i
type pwd.

C:\Users\etc.

when I try to call upon the function, Octave says it's undefined, yet the
file in in the appropriate folder. 

I'm getting frustrated, because I thought Octave recognizes these files in
the corresponding directory. I'm not sure what's wrong.. Would appreciate
some input.

Thanks.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Need-Help-Loading-Functions-tp4643486.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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