WCF between Matlab and C # applications

I am trying to establish communication between two applications. 1 matlab app 1 written in C # app.

C # application publishes its functions with Microsoft WSDL application which is non-standard and Matlab cannot understand it.

Do you know of any solutions to this problem? Some application that publishes WCF functionality in a standard way, or some automatic tool that fixes this?

Thank,

+2


source to share


3 answers


A well known issue - actually Microsoft output compatible as standard, but most other systems don't support it :-)

Check out these WCF extensions that will allow you to "flatten" your WSDL to include XSDs as inline <wsdl:schema>

elements:



Hope it helps!

Mark

+1


source


You can change your C # application as a .net relay service.

And then you can use the cll dll call to access the service using matlab-net-api protocol.



As a mode, you can use WCF as a service and use the linkage cll dll dll mlabab-net-api to communicate with that service.

0


source


The IPC: . You can do this using interprocess communication. For example, you can use a socket or a named pipe.

DLL: . If you just want to use C # methods in Matlab, you can create dll .NET framework and use it in matlab withNET.addAssembly('path to your dll');

MQTT: If communication between processes is complex, you can also use MQTT for simple messaging (like JSON) between processes.

0


source







All Articles