Rank: 179325 based on 0 downloads (last 30 days) and 0 file submitted

Sina Tootoonian


Personal Profile:


Watch this Author's files


Comments and Ratings by Sina Tootoonian
Updated File Comments Rating
20 Jun 2011 fminsearchbnd new improved bounded fminsearch algorithm Author: Ken Purchase


I got the same problem. The cause seemed to be that intrafun passes varargin to the function to m inimize, and if the latter function can't handle it, an error is generated.

The workaround I found was to let my function accept varargin as a dummy argument e.g. If my function was f = @(x) x^2, to change it to f = @(x,varargin) x^2. When this is done, the new function can handle the varargin passed in through intrafun, and no error results.

Hope this helps!

Contact us