fminsearch output function
Show older comments
Hi,
I'm using fminsearch in a function B that is called several times by another fminsearch in function A. In A I need to extract the information about the number of iterations, the minimum of the objective function, etc. for each call to fminsearch-B. I have created a structure to store that information but I don't know how to return it from B. I have thought to make use of 'OutputFcn' in fminsearch-B but it does not the job I need to be done. The output function must return only one logical value, 'stop'. Any idea about passing a function that may return something else?
Thank you,
minibela
Answers (1)
minibela
on 31 May 2012
0 votes
Categories
Find more on Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!