Java exception error in Optimization toolbox (gamultiobj) after termination
Show older comments
I am getting java exception error after running a multiobjective optimization function (gamultiobj) by means of the optimization toolbox, just right after the function/problem terminates.
I can see all the plots that are generated, refreshing with every generation, I see the Pareto front plotted everything looks fine. Except that I can't access the decision variables and function values in the Pareto front (after the optimization terminated).
The window looks like this for me:

After termination I get the following message in the command window:
Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0
at com.mathworks.mwswing.DefaultSortableTable$TableSorter.compareRowsByColumn t com.mathworks.mwswing.DefaultSortableTable$TableSorter.compare(DefaultSortableTable.java:267) at com.mathworks.mwswing.DefaultSortableTable$TableSorter.shuttlesort(DefaultSortableTable.java:353) at com.mathworks.mwswing.DefaultSortableTable$TableSorter.shuttlesort(DefaultSortableTable.java:324) at com.mathworks.mwswing.DefaultSortableTable$TableSorter.shuttlesort(DefaultSortableTable.java:324) at com.... etc. etc. (like 50 of these lines)
Is there any solution for this? Can I access the data some other way? Thank you for your help in advance!
Answers (0)
Categories
Find more on Multiobjective Optimization in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!