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/