Curve fitting tool does not show main plot in Matlab 2013b
古いコメントを表示
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: javax.media.opengl.GLCapabilities.<init>(Ljavax/media/opengl/GLProfile;)V
at com.mathworks.hg.peer.JavaSceneServerPeer.getCaps(JavaSceneServerPeer.java:125)
at com.mathworks.hg.peer.JavaSceneServerPeer.doCreateCanvas(JavaSceneServerPeer.java:942)
at com.mathworks.hg.peer.JavaSceneServerPeer.access$200(JavaSceneServerPeer.java:44)
at com.mathworks.hg.peer.JavaSceneServerPeer$2.run(JavaSceneServerPeer.java:914)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:721)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:682)
at java.awt.EventQueue$3.run(EventQueue.java:680)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:691)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Does anyone know a solution for this problem?
Thanks.
(Sorry for the formatting of the error message...)
9 件のコメント
Tijn van de Ven
2013 年 11 月 29 日
編集済み: Tijn van de Ven
2013 年 11 月 29 日
Hi,
I'm having similar problems on Windows 7 Ultimate 64 bit. Error messages start with:
endException in thread "AWT-EventQueue-0" javax.media.opengl.GLException: GLContext.destroy() during associateDrawable(false)
at jogamp.opengl.GLContextImpl.destroy(GLContextImpl.java:425)
at javax.media.opengl.awt.GLJPanel$OffscreenBackend.initialize(GLJPanel.java:1069)
at javax.media.opengl.awt.GLJPanel.createAndInitializeBackend(GLJPanel.java:766)
....
and end with:
... 30 more
Everytime I change anything in the cftool I get similar but different error messages, even when I hover over the menu items.
For this seems a Java related problem I have re-installed Java but that didn't work. Maybe something went wrong during the installation of the toolbox? (Which I can't check till Monday)
Best regards, Tijn
Lawrence
2014 年 1 月 21 日
I'm having the exact same problem. The fitting works, but the main plot doesn't happen, and I get the same error messages. I'm using 2013b on OS X 10.9.1
version -java
ans =
Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
Any help greatly appreciated.
Fahd Abou Nada
2014 年 2 月 3 日
Hi,
I had the same problem with cftool. I solved it by installing the 64-bit version of java and restarting Matlab. Here is the link for Java downloads for all operating systems: Java Downloads
Best of luck
Lawrence
2014 年 2 月 11 日
Thank you. Unfortunately, that didn't work for me. I'm running the latest there is for OS X (v7 u51).
Laura
2014 年 3 月 11 日
I am having the same problem with Matlab 2013b, I´ve just installed the 64-bit version of java, and it is still not working.
What else can I do?? Any ideas?!
Thanks Lau
Dane Crisp
2014 年 3 月 20 日
編集済み: Dane Crisp
2014 年 3 月 20 日
I know how to fix the problem, It is the same thing as what Fahd said, but to be more clear:
1. close matlab
2. run java as administrator on your computer/if you do not have java install the required version for your system.
3. run matlab as administrator on your computer.
your graphs should show up on the preview pane now.
I have the same problem. Matlab R2013b installed on a Linux x64 machine, cftoolbox not displaying the main plot. I installed the latest JDK and got Matlab to use this Java:
>>version -java
ans =
Java 1.8.0-b132 with Oracle Corporation Java HotSpot™ 64-Bit Server VM mixed mode
Still, if I start cftool, no main plot is displayed. Any advice?
Thanks, Julia
edit: Also tried it with Java v1.7.0_51-b13, still not working.
Dane Crisp
2014 年 3 月 21 日
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.
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
回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Introduction to Installation and Licensing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!