Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Message-ID: <91B8B800D848D611903F000347992DC10CB4A852@sbnex642.als.allied.com> From: "Phillips, James R" To: cygwin AT cygwin DOT com Subject: Re: Running custom cygwin apps from Matlab for windows Date: Thu, 10 Feb 2005 12:05:51 -0700 MIME-Version: 1.0 Content-Type: text/plain X-imss-version: 2.022 X-imss-result: Passed X-imss-scores: Clean:84.87814 C:2 M:3 S:5 R:5 X-imss-settings: Baseline:4 C:3 M:3 S:3 R:3 (1.0000 1.0000) OK, matlab for windows has several for executing windows commands, the simplest to discuss is system(string) This will pass the contents of the string to windows as a command to execute. The string could look like 'C:\cygwin\bin\bash --login -c custom-command' which will log into a cygwin bash shell to excecute custom-command and then exit. So its perfectly possible. Experiment a little; you will find that it does in fact work. -- 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/