Hi everyone,

I'm new to Matlab, so my question should be easy for you guys!

I'm using the "Traveling Salesman Problem - Genetic Algorithm" from Joseph Kirk (url: http://www.mathworks.com/matlabcentral/fileexchange/13680-traveling-salesman-problem-genetic-algorithm) and it works nicely.

Unfortunately, the program only gives me the final result in the workspace, which is "the shortest route for the salesman to travel to each city exactly once and return to the starting city".

What I would like is to have a list of all values that are successively taken by variables of the problem, I mean the value of each variable for each iteration, and for each population member (in the Genetic Algorithm).

So I wonder if there is a "log file" in Matlab that contains the values taken by the variables, or that shows calculations done by the Matlab software.

Do I need to use the Report Generator for doing this ?

I hope my request is clear.

Many thanks for your help,

Nicolas