How can I get total time taken to run an optimization function in GA tool in matlab?.

1 view (last 30 days)
How can I get total time taken to run an optimization function in GA tool in matlab?. (or how can we use tic and toc in an to get total time taken to get the optimization solution)

Answers (1)

Walter Roberson
Walter Roberson on 27 Jun 2015
profiler. Or just tic before the ga call and toc afterwards if you are not concerned about the overhead of ga

Categories

Find more on Problem-Based Optimization Setup 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!