octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #45682] str2func should accept '@(x) x^2' for


From: Rik
Subject: [Octave-bug-tracker] [bug #45682] str2func should accept '@(x) x^2' for matlab compatability
Date: Mon, 10 Aug 2015 03:42:56 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Follow-up Comment #3, bug #45682 (project octave):

In the meantime, I changed the documentation on the stable branch to note that
anonymous functions are not supported and that the preferred workaround is


func = eval (str);


The changeset for that is here
http://hg.savannah.gnu.org/hgweb/octave/rev/8fcbb55745ef.

On the development branch, I added a check for anonymous functions and it
issues an error now
(http://hg.savannah.gnu.org/hgweb/octave/rev/82712ed1be68).

This is just a partial fix until someone can figure out how to essentiall call
'eval (str)' from the C++ code in ov-fcn-handle.cc.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45682>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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