The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: variables at each generation in GATOOL box
Replies: 1   Last Post: Aug 20, 2013 11:29 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Alan Weiss

Posts: 1,430
Registered: 11/27/08
Re: variables at each generation in GATOOL box
Posted: Aug 20, 2013 11:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 8/20/2013 10:20 AM, Aniket Kumar wrote:
> Hi, I am using gatool in matlab. I used 3 variables in my function.
> After optimization , only final values of x, i.e. variables are shown
> in the result. I want to get variables value at each generation.
> Please help me.
> Thanks

Write an output function as described here:

There are examples of the use of output function (using different
syntax, be careful) here:

Include the handle to your output function in the optimtool option for
output functions.

Alan Weiss
MATLAB mathematical toolbox documentation

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.