delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/17/16:58:24

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_ADSP_NXDOMAIN,NO_DNS_FOR_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Subject: Re: Running a Matlab script remotely via ssh
From: "Matthew B. Smith" <melkor AT orangpalantir DOT org>
To: Geraldo Veiga <gveiga AT gmail DOT com>, cygwin AT cygwin DOT com
In-Reply-To: <n2o5969679e1004171104mc6fd0357l5be8cc367c4488@mail.gmail.com>
References: <h2y5969679e1004171059x1f563e57i9e58c23f5f0fc676 AT mail DOT gmail DOT com> <n2o5969679e1004171104mc6fd0357l5be8cc367c4488 AT mail DOT gmail DOT com>
Date: Sat, 17 Apr 2010 16:58:09 -0400
Message-ID: <1271537889.5593.6.camel@erebor>
Mime-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

I'm pretty sure you cannot use a window.  I think matlab has another cmd
line argument such as -batch to run w/out windows?

mbs

On Sat, 2010-04-17 at 15:04 -0300, Geraldo Veiga wrote:
> I have Cygwin installed in a Vista/64 system with sshd enabled.  I
> would like to login remotely via ssh and run a script written in
> Matlab.
> Directly from the DOS command line this is possible:
> 
> matlab -nosplash -nodesktop -minimize -r test_batch -logfile logfile
> 
> No such luck when I try the same with a remote session.  The thing
> just hangs there until I interrupt it with CTRL-C.
> 
> Is there any way around this?  Matlab is a Windows application and
> always opens a window when executed.  That "-minimize" in the
> command-line  just hides the obvious.
> 
> Thanks in advance for your help
> 
> 
> 
> 
> --
> Geraldo Veiga <gveiga AT gmail DOT com>
> 
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> 



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

- Raw text -


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