Reputation: 29
I am building an application which needs high response time in a real time environment. I know there are three methods to call MATLAB from C#:
What are the differences between these methods in terms of speed (execution time)? Any comments about the relative security of the methods would also be appreciated.
Thanks
Upvotes: 2
Views: 6661
Reputation: 2019
Here is some hint for your question
COM approach This solution is quite slow because of the COM type exchange
Dynamic Data Exchange The Dynamic Data Exchange is a quite old but powerful service of Windows that lets applications communicate and exchange data
C API The direct access to the MATLAB C API is the best solution in terms of performance and features, just let use P/Invoke and some unsafe pointer operations.
You may read more http://www.codeproject.com/Articles/5468/1-2-3-ways-of-integrating-MATLAB-with-the-NET
hope it will helpful.
Upvotes: 2