Clear Filters
Clear Filters

Curve fitting tool does not show main plot in Matlab 2013b

6 views (last 30 days)
Dear all,
When I use the Curve Fitting Tool in Matlab 2013b on MacOS X it does not show me the 'Main Plot' after fitting a curve. The main plot normally shows the input data and the curve which was fitted to the data. In older Matlab versions (like 2012a) everything worked fine.
In the Command Window the following error is shown:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError:<init>(Ljavax/media/opengl/GLProfile;)V
at com.mathworks.hg.peer.JavaSceneServerPeer.getCaps(
at com.mathworks.hg.peer.JavaSceneServerPeer.doCreateCanvas(
at com.mathworks.hg.peer.JavaSceneServerPeer.access$200(
at com.mathworks.hg.peer.JavaSceneServerPeer$
at java.awt.event.InvocationEvent.dispatch(
at java.awt.EventQueue.dispatchEventImpl(
at java.awt.EventQueue.access$200(
at java.awt.EventQueue$
at java.awt.EventQueue$
at Method)
at java.awt.EventQueue.dispatchEvent(
at java.awt.EventDispatchThread.pumpOneEventForFilters(
at java.awt.EventDispatchThread.pumpEventsForFilter(
at java.awt.EventDispatchThread.pumpEventsForHierarchy(
at java.awt.EventDispatchThread.pumpEvents(
at java.awt.EventDispatchThread.pumpEvents(
Does anyone know a solution for this problem?
(Sorry for the formatting of the error message...)
Dane Crisp
Dane Crisp on 21 Mar 2014
Try reinstalling matlab, and do the same steps I said above, and remember to run java and matlab as administrator on your computer, right click the matlab icon and click on run as administrator, do the same thing with java.
Julia on 9 Apr 2014
Edited: Julia on 9 Apr 2014
Dear all, after changing the Java version and/or running matlab as an administrator didn't help, I decided to contact the matlab support. They send me a java-related patch which resolved the issue. Therefore, I would suggest that if any of you is experiencing the same problem, contact support.
Have a good day, Julia

Sign in to comment.

Answers (0)


Find more on Introduction to Installation and Licensing 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!