This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Matlab Hangs at startup


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@phys.unsw.edu.au> kirjoitti 
viestissä:1170997441.45cc00c10bb07@webmail.phys.unsw.edu.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@phys.unsw.edu.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]