I have a C# function that uses multithreading. The function compiles and works well in a C# console application. However, when I call the function from Matlab, Matlab crashes immediately. If I change the function so that it does not use multiple threads, Matlab does not crash. I'm using R2009b and I don't have the Parallel Computing Toolbox. Is there a work around?
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.