|
From: | Doug Stewart |
Subject: | [Octave-bug-tracker] [bug #47046] function handle str2func failed |
Date: | Tue, 02 Feb 2016 19:14:08 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.82 Safari/537.36 |
Follow-up Comment #1, bug #47046 (project octave): I think that you might be using it wrong. Here is an example: function q=pig(x) q=3*x^5 -100; endfunction str1="pig" fh = str2func(str1) ie; str has to be the name of a function , not the function. HTH _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?47046> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |