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: Running custom cygwin apps from Matlab for windows


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/


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