[Coin-ipopt] Does the matlab interface support nested functions?
Peter Carbonetto
pcarbo at cs.ubc.ca
Wed Jul 11 01:47:16 EDT 2007
> Thanks for the replying. I have tried "global variables". They do work.
>
> Nested functions are supported by matlab's optimization toolbox (at
> least for version no later than matlab 7.0), for example, functions
> like fminunc and fmincon. According to my knowledge, fminunc and
> fmincon use function handle to rather than strings for the arguments.
> Maybe this is the key. But I don't know the detail.
I will look into this. But for the time being, you will have to do without
nested functions, I'm afraid.
Peter
More information about the Coin-ipopt
mailing list