[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41767] feval not updating function
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #41767] feval not updating function |
Date: |
Wed, 05 Mar 2014 08:40:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #2, bug #41767 (project octave):
Matlab does not allow for function definitions within the code. When defined
in an extra function file (eg. 'A.m') it updates correctly as octave.
In slight modification, with ~a/A.m and ~/b/A.m returning pi and e, resp.,
both ML and octave display pi when executing
addpath ~/a
fun = @A ;
disp(feval(fun)) ;
rmpath ~/a
addpath ~/b
disp(feval(fun)) ;
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41767>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/