Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: batch+mex
Replies: 3   Last Post: Apr 30, 2013 11:16 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Rafa Valero

Posts: 4
Registered: 10/29/12
batch+mex
Posted: Apr 23, 2013 12:57 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Please, I need some help combining batch with mex.
clear all
For example, I have function1, and its mex, and I want to run them in a cluster (no in my computer, outside)

For example

T=100000;
N=1000;

j=batch(@function1,1,{N,T},'matlabpool',2);
wait(j)
sol=j.fetchOutputs()

j=batch(@function1_mex,1,{N,T},'matlabpool',2);
wait(j)
sol_2=j.fetchOutputs()

However I cannot run when mex type.

Thanks.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.