| MATLAB Central > MATLAB Newsreader > Starting matlab engine from one thread, using i... |
|
|
|
Subject: Starting matlab engine from one thread, using it in another From: Akshay Ambekar Date: 23 Feb, 2011 04:30:20 Message: 1 of 7 |
|
Hello, |
|
Subject: Starting matlab engine from one thread, using it in another From: Rune Allnor Date: 23 Feb, 2011 08:29:13 Message: 2 of 7 |
|
On Feb 23, 5:30 am, "Akshay Ambekar" <akshay.ambe...@ge.com> wrote: |
|
Subject: Starting matlab engine from one thread, using it in another From: Akshay Ambekar Date: 23 Feb, 2011 10:55:09 Message: 3 of 7 |
|
Hi Rune, |
|
Subject: Starting matlab engine from one thread, using it in another From: Lucas Date: 8 Mar, 2011 13:40:15 Message: 4 of 7 |
|
Akshay, |
|
Subject: Starting matlab engine from one thread, using it in another From: Akshay Ambekar Date: 10 Mar, 2011 04:52:04 Message: 5 of 7 |
|
Hey Lucas, |
|
Subject: Starting matlab engine from one thread, using it in another From: tristram.scott@ntlworld.com (Tristram Scott) Date: 10 Mar, 2011 09:01:03 Message: 6 of 7 |
|
Akshay Ambekar <akshay.ambekar@ge.com> wrote: |
|
Subject: Starting matlab engine from one thread, using it in another From: Lucas Date: 14 Mar, 2011 13:22:06 Message: 7 of 7 |
|
Another thing that I just noticed in looking back over your code: You are calling the Sleep function with an input of 100. Depending on your OS, this will produce different results. If you are using Windows, I believe this will suspend the thread for only 100 milliseconds. If this is the case, then most likely what is happening is your 'main' thread is exiting--and consequentially shutting down the Matlab engines--before your worker threads have a chance to finish. |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| engine | Jay Catelli | 29 Aug, 2011 17:37:36 |
| engputvariable | Akshay Ambekar | 22 Feb, 2011 23:34:06 |
| engopen | Akshay Ambekar | 22 Feb, 2011 23:34:06 |
| multithreaded m... | Akshay Ambekar | 22 Feb, 2011 23:34:06 |
| matlab api | Akshay Ambekar | 22 Feb, 2011 23:34:06 |
| matlab engine | Akshay Ambekar | 22 Feb, 2011 23:34:06 |
Contact us at files@mathworks.com
