Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Calling External Program

by almut (Canon)
on Jun 03, 2009 at 21:06 UTC ( [id://768165]=note: print w/replies, xml ) Need Help??


in reply to Calling External Program

I currently call MATLAB in background mode...

You'll probably have to consult the MATLAB documentation on how to run the program in a way that it doesn't return before having finished. Maybe running it in the background isn't the way to go... Can you run it in batch mode (i.e. without the GUI), but in the foreground?

Or, if that's not possible, you could maybe let the MATLAB job create a certain file when done (acting as a "finished" flag), whose existence you could then poll from your Perl script.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://768165]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (5)
As of 2024-03-29 07:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found