call Matlab code from c# / .NET threads: multi-thread scalability: is MathWorks.MATLAB.Engine best option?
이전 댓글 표시
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?
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deploy to .NET Applications Using MWArray API에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!