Technical discussion about Matlab and issues related to Digital Signal Processing.
|
Dear Matlab users, I'm having some problems with R14 and OpenGL. FWIW, I just starting using R14 today; I think it's service pack 1. I run matlab on a debian linux server and display the GUI on my OS X box using X11. When I do this, I get several errors in the command window. The first error is > Warning: Could not query OpenGL. > Warning: OpenGL appears to be installed incorrectly. This error occurs even before the < M A T L A B > appears at the top of the window. I also get a bunch of errors that start like this, > java.lang.NullPointerException > at > com.mathworks.mde.cmdhist.CmdHistoryWindow$PopulateThread.run(CmdHistor > yWindow.java:237) > java.lang.NullPointerException: Failed to retrieve atom name. > at sun.awt.motif.MDataTransferer.getTargetNameForAtom(Native Method) > at sun.awt.motif.MDataTransferer.getNativeForFormat(Unknown Source) > at sun.awt.datatransfer.DataTransferer.getFlavorsForFormats(Unknown > Source) > at sun.awt.datatransfer.ClipboardTransferable.<init>(Unknown Source) > at sun.awt.datatransfer.SunClipboard.getContents(Unknown Source) and they go on to fill up the rest of the command window. My history.m file is also causing problems, it seems. If I delete it from the .matlab directory, the above errors are the only ones that I'll see. (The latter error doesn't always appear, even.) A similar thing happens if I launch matlab from the .matlab/R14/ directory. If I launch it from my home directory, I get a bunch of errors that start with > Warning: Name is nonexistent or not a directory: and cascade down to fill the command window. When this happens, none of the toolboxes we have installed are accessible from matlab. I really don't understand what is causing this trouble. To make this more interesting, when I use VNC to connect to the linux machine and run matlab, I experience none of these problems. Can anyone tell me what might I do to make matlab run correctly via X11? Thanks in advance for sharing your thoughts. Best, Jason |