MATLAB: Are the MATLAB windows partially displayed off the screen of the UNIX machine

desktopdisplayemulatorenlightenmentlinuxmanagerMATLABoffposition;r12screenwindowx-emulator

Why are the MATLAB windows partially displayed off the screen of my UNIX machine?
The following is one symptom, but not necessarily the only symptom:
I am running MATLAB through an X-Emulator. Every time I run MATLAB, the MATLAB window appears in the upper left corner of my screen. In this way, I am not able to move the MATLAB window around in my pc screen and also minimize, etc. My mouse doesn't reach the upper border of the MATLAB window. Is there any way to modify this starting MATLAB window position in my PC screen?

Best Answer

If you are running MATLAB 6.0 (R12) or later with the desktop on several machines and each machine has a different size display, then this can be the root of your problem. Please try changing the size display.
If the desktop comes up off-screen in the upper left, (i.e. the window itself at [0,0] with decorations above and to the left so that the title bar is off the screen) then that is a window manager configuration issue. The following is a list of window managers where MATLAB starts in the proper place under Linux:
KDE
FVWM
Window Maker
AnotherLevel
Icewm
TWM
The above window managers are free and should have been installed on all Linux RedHat machines.
Additionally, you can try this workaround:
If you are running MATLAB through an emulator such as Xoftware, you can use the windows options in the Xoftware control panel. To run MATLAB remotely in Linux, you have to set up a single window mode option from the Options->Window menu in the Xoftware control panel.
To make things better, once you get the xterm window in the 'Xoftware display' window, type the window manager command to have control on moving and resizing the xterm and other windows that might appear. You can use fvwm2 & for this.
Also this problem can be a result of the way that Java defines the window size and position. In Java's definition of window size and position, it does not include the decoration; however in some window managers, decoration is either added to the outside or inside of the window depending on the window manager.
You can also post to our newsgroup, comp.soft-sys.matlab, to see if anyone has encountered this problem with a particular window manager in the past. This newsgroup is monitored by thousands of MATLAB users, one of which might have an alternative solution.