Filter löschen
Filter löschen

Matlab crashes when invoking multithread in .Net/C#

1 Ansicht (letzte 30 Tage)
Scott
Scott am 13 Mai 2013
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?
Thanks, Scott

Akzeptierte Antwort

Scott
Scott am 13 Mai 2013
My error: In C#, I called a callback function while it was still null. This caused Matlab to crash.
Scott

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by