delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/13/14:50:34

X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Juhani Saastamoinen" <juhani AT cs DOT joensuu DOT fi>
Subject: Re: Matlab Hangs at startup
Date: Tue, 13 Feb 2007 20:16:53 +0200
Lines: 108
Message-ID: <eqsvas$9i6$1@sea.gmane.org>
References: <1170997441 DOT 45cc00c10bb07 AT webmail DOT phys DOT unsw DOT edu DOT au>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi.

I am almost certain this is not problem with cygwin or the cygwin X server
running in your windows computer. I have used Matlab startup options
'matlab' (start Matlab with new GUI window and show Matlab logo)
'matlab -nosplash' (start Matlab with new GUI window, don't show logo)
'matlab -nojvm' (start Matlab command interpreter in the current terminal
                          without the GUI, show splash screen)
'matlab -nosplash -nojvm' (no GUI, no splash)
The page you referred to also mentioned 'matlab -nodesktop',
I think it might be same as -nojvm? I have a feeling that the desktop
is built using Java (because the 'no GUI' option is named 'nojvm').
Based on the above, one reason you don't see Matlab GUI window might be
that there is some problem with the installation of the JVM on the unix 
server.
Another explanation might be that the cygwin X server or a firewall is
blocking the X windows, but this cannot be the case if you see the splash 
screen.
Third option might be problem with the Matlab licenses, i.e. the Matlab 
installed
in the unix server allows only limited number of simultaneous instances 
running.
I experienced this about 10 years ago, when we had something like 2 or 5
licences on a server. Maybe the most likely problem is that the new Matlab
licence server is so advanced that it actually knows whether you are in a 
remote
terminal or not, and it must be configured properly to allow remote X 
windows.
I remember having these issues with Matlab6 when I started with my current 
job.
At some point they bought new licence policy for the university or then they
just reconfigured the Matlab license server, don't remember which
one it was but after that I got graphics windows (I don't use the GUI).
You have to ask the details about this one from your unix server 
administrator
(ask about the Matlab licenses, whether licence server is used,
does it allow remote windows, etc.).

Juhani Saastamoinen


"Dr Theodore Martin" <tmartin AT phys DOT unsw DOT edu DOT au> kirjoitti 
viestissä:1170997441 DOT 45cc00c10bb07 AT webmail DOT phys DOT unsw DOT edu DOT au...
> Hi,
>
> I'm using Cygwin to run Matlab 6.5 remotely off a unix server.  I'm using 
> the
> ssh command to connect to the server.  Here is a good tutorial on what 
> SHOULD
> happen when doing this, which I have been following:
>
> http://remus.rutgers.edu/~xmi/cs323/remote_matlab.htm
>
> I am able to run Matlab if I just type "matlab" at the command prompt, but 
> it
> then enters matlab in the SAME window as the command prompt, not in a new
> window...ie, it doesn't have any of the nice windowed command structure 
> that is
> displayed if you use Matlab on a real windows install.  At a previous
> institution, I was able to use Matlab in its full windowed environment 
> remotely
> using Exceed by typing "matlab &" at the command prompt, which then opened 
> it
> in
> a new window with all the lovely file structure.
>
> However, using Cygwin, if I type "matlab &" it opens the Matlab load (er,
> splash?) screen, and hangs there for all eternity, never fully opening the
> program.  There must be something set wrong, but I have no idea what it 
> is.
> While I can technically run matlab using the command prompt window, I 
> can't use
> the editor, or the graphical variable structure interface, or the 
> graphical help
> window, etc in this mode.
>
> My Sygwin version was updated on Feb 7th, 2007, and is version: 2.510.2.2
> Matlab version 6.5.0.180913a
>
> I am aware my Matlab version is not the latest version, I am on a 
> university
> campus using a site lisence and do not have the authority to simply go and 
> buy
> the newest version.  I did search through the Cygwin mailing list and did 
> not
> find anyone else who had this problem.  There was a similar problem to 
> this
> posted on the Matlab help archives, but it was found using PC-Xware:
>
> http://www.mathworks.com/support/solutions/data/1-175G9.html?1-175G9
>
> (see "Problem 3") and appears to be an issue with how the colors are drawn 
> on
> the screen, though I don't have any idea how to tweak this in Cygwin.
>
> Thanks,
>
> Dr Theodore Martin
> School of Physics
> University of New South Wales
> Sydney, NSW 2052
> Australia
> +61 2 9385 5990
> tmartin AT phys DOT unsw DOT edu DOT au
> 




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019