Is it possible to call matlab functions from Silverlight / C #?

Is it possible to call matlab functions from Silverlight / C #?

+4
source share
4 answers

If you have an assembly (dll) that can interpret Mathlab calls, you can include this assembly in your project and compile it with the rest of your application.

Obviously, you won’t be able to run Silverlight side by side to interact with the installed Matlab instance (if the API is not open through COM interoperation and does not use Silverlight 4, but this can become messy).

The sourceforge web API, as Matt mentioned, seems very good if you cannot find the assemblies to be directly included in the Silverlight application. Read my comments there for further thoughts.

+5
source

I do not think it will be possible for Silverlight, which you intend to run in a browser, although you can certainly use WPF as a Windows application.

However, you can discover the functionality of Matlab as a web service using Matlab Server Pages (MSP), and then use fucntionlaity from silverlight.

http://msp.sourceforge.net

Of particular interest is this tutorial showing how to access the MSP web service from C #.

http://msp.sourceforge.net/Tutorial/tutor13.htm

+3
source
+1
source
+1
source

Source: https://habr.com/ru/post/1300427/


All Articles