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!