How to pass images from a matlab program to a c# program?

2 次查看(过去 30 天)
Please any one help me to pass data and images from a program in matlab to a program in c# . Both programs will be running simultaneously in same system or in a network.
I want something like remoting or memory share concept.
I searched a lot and most of the result I found is something like accessing whole matlab program as a DLL in C#, which is not feasible for me. I want both the programs to run independently and can communicate.

回答(1 个)

Guillaume
Guillaume 2014-8-20
Matlab can interact with .Net classes so it should be fairly easy to send data to yourCc# program. Matlab can also listen for .Net events so you could raise an event in your C# program to tell Matlab to fetch back some data if you want bidirectional communication.
It's all fairly well explained in Matlab's documentation: http://www.mathworks.co.uk/help/matlab/using-net-libraries-in-matlab.html

类别

Help CenterFile Exchange 中查找有关 .NET Client Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by