Running multiprocess applications from MATLAB

Posted by Jacob on Stack Overflow See other posts from Stack Overflow or by Jacob
Published on 2010-04-13T00:11:32Z Indexed on 2010/04/13 0:22 UTC
Read the original article Hit count: 624

Filed under:
|
|
|
|

I've written a multitprocess application in VC++ and tried to execute it with command line arguments with the system command. It runs, but only on one core --- any suggestions?

Update:In fact, it doesn't even see the second core. I used OpenMP and used omp_get_max_threads() and omp_get_thread_num() to check and omp_get_max_threads() seems to be 1 when I execute the application from MATLAB but it's 2 (as is expected) if I run it from the command window.

© Stack Overflow or respective owner

Related posts about matlab

Related posts about multiprocessing