help-octave
[Top][All Lists]
Advanced

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

How to clear a command line function


From: Muhali
Subject: How to clear a command line function
Date: Wed, 25 Jan 2012 11:51:15 -0800 (PST)

>From my understanding of the corresponding help text, I would 'clear' a
command line function as follows:

octave> function y = foo(x), y = e^x ; endfunction
octave> which foo
`foo' is a command-line function
octave> clear foo

but that doesn't seem to work:

octave> which foo
`foo' is a command-line function

I know about 'clear -f', but according to the help 'clear foo' should also
work.

What am I missing?

M.

--
View this message in context: 
http://octave.1599824.n4.nabble.com/How-to-clear-a-command-line-function-tp4328314p4328314.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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