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" To: Geraldo Veiga , cygwin AT cygwin DOT com In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Sat, 17 Apr 2010 16:58:09 -0400 Message-ID: <1271537889.5593.6.camel@erebor> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > -- > 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