是否可以从Silverlight/C#调用matlab函数? [英] Is it possible to call matlab functions from Silverlight / C#?

查看:84
本文介绍了是否可以从Silverlight/C#调用matlab函数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Silverlight/C#调用matlab函数?

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

推荐答案

如果您有可以解释Mathlab调用的程序集(dll),则应该能够将该程序集包含在项目中,并与其余程序一起进行编译应用程序.

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

很明显,您将无法并行运行Silverlight来与已安装的Matlab实例进行交互(除非API通过COM interop公开并使用Silverlight 4公开,但这可能会变得混乱).

Obviously, you won't be able to run Silverlight side-by-side to interface with an installed instance of Matlab (unless the API is exposed through COM interop and using Silverlight 4, but that could get messy).

Matt提到过,sourceforge上的Web API似乎非常适合,如果您找不到直接包含在Silverlight应用程序中的程序集.在此处阅读我的评论以获取进一步的想法.

The Web API on sourceforge, as mentioned by Matt, seems like a really good fit if you can't find assemblies to include directly within your Silverlight application. Read my comments there for further thoughts.

这篇关于是否可以从Silverlight/C#调用matlab函数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆