help-octave
[Top][All Lists]
Advanced

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

Variables


From: Mike B.
Subject: Variables
Date: Tue, 16 Feb 2010 23:19:36 -0800 (PST)

Hi All,

I'm using Octave 3.2. I have a keyboard statement in a function so it enters a 
debug mode. However, when I type the name of a function variable I get an 
error. Here's a simple example:

function out = myfun( in )
a = in * 5;
keyboard;
endfunction

and the main code (mycode.m):
z1 = myfun( 10 )

typing
> mycode
octave runs myfun and goes into debug mode. then typing
> a
gives
error: `a' undefined near line 1 column 1

Thanks,
Mike


      New Email names for you! 
Get the Email name you've always wanted on the new @ymail and @rocketmail. 
Hurry before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/



reply via email to

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