[scilab-Users] feval an external function
Jerome PICARD
jerome.picard at scilab.org
Fri Jul 9 16:35:12 CEST 2010
Hello,
The command like the following one should works into the function foo :
execstr("y="+bar+"(arguments)")
Best regards
Jérôme
Le 09/07/2010 16:22, Peter von Niederhaeusern a écrit :
> Hi all,
>
> In the main script I call a function 'foo' (which is made known to the
> main script by exec('foo.sci'))
> which takes another function 'bar' and some arguments as its arguments.
>
> Inside the body of 'foo' the function 'bar' is evaluated by
> 'feval(arguments,'bar')'...
>
> Unfortunately the interpreter cannot find the function 'bar' (although
> that function is also made known
> to the main script). Error message: feval: entry point bar not found
> in predefined tables or link table.
>
> Is there a way to execute the function 'bar' inside the function 'foo'?
>
> Make known the function 'bar' inside 'foo' does not help either...
>
> Merci for a hint
> Peter
>
More information about the users
mailing list