call Matlab code from c# / .NET threads: multi-thread scalability: is MathWorks.MATLAB.Engine best option?
Show older comments
Hi Experts,
Typically NET & Matlab synergies is a common topic of interest. Having said that, just simply calling a function here and there, might be of little interest / an easy use-case. A more important use-case would be multi-threading and how would calling matlab functionality fare within a highly parallel / multi-threaded .NET program architecture.
So, this is a question on best way to design on the following:
1) .NET c# application for realtime live data feed processing, able to spin up undreds of parallel threads when needed.
2) Each thread needs to call a Matlab function, passing various data such as a list of static file names that every thread with share, and a list of parameters specific to each thread. The Matlab piece has to be scalable and not impact too much the paralel thread execution.
3) NET threads would typically get back the result from the Matlab function call and carry out their execution.
Questions:
a) What's best approach for this, from a Matlab integration point of view? (having scalability and speed in mind)
b) Are there any examples anywhere of this?
Accepted Answer
More Answers (0)
Categories
Find more on Deploy to .NET Applications Using MWArray API in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!