Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: calling matlab

Thread Tools

Re: calling matlab

Robert Kern
Posts: n/a
Mohammed Smadi wrote:
> Hi;
> Does anyone know if we can call matlab for a python or bash script while
> feeding the matlab script some command line arguments? I have an
> interactive matlab script which i want to automate by feeding the args
> from a script.

Depending on how interactive it is, you should look at the subprocess
module in the stdlib or pexpect.

Robert Kern Removed)

"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calling Python from Matlab Carl Python 11 05-29-2012 10:14 AM
need help!!! calling Matlab from c++ C++ 6 07-26-2010 02:26 AM
vectorized computation in C++ such as those in Matlab (Matlab toC++)? Luna Moon C++ 16 08-08-2008 04:27 PM
Eclipse RCP and MATLAB (calling MATLAB from JAVA) siki Java 0 01-16-2007 04:19 AM
calling matlab Mohammed Smadi Python 3 10-25-2005 06:49 AM