Ccharp和Matlab之间的链接 [英] Linking between Ccharp and Matlab

查看:113
本文介绍了Ccharp和Matlab之间的链接的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在c#和matlab之间建立链接,我拥有的matlab项目正在生成图像,我想在matlab项目完成后在c#中使用.请帮助我.

i want to link between c# and matlab, the matlab project i have is producing an image ,that i want to use in c# after the project of the matlab finishes.please help me.

推荐答案

您可以从此处开始: http://www.mathworks. com/help/techdoc/matlab_external/brpb5k6-1.html [ ^ ].

[根据OP的后续评论进行]

You can start from here: http://www.mathworks.com/help/techdoc/matlab_external/brpb5k6-1.html[^].



3ssal写道:

我的时间非常有限的问题……是否有简单的方法或直接的方法进行链接? [拼写固定-SA]

The problem that I have a very limited time… is there a simple way or a direct way to do the linking?? [Spelling fixed — SA]



抱歉,我没有机会为此问题贡献更多的时间.我想我已经向您捐赠了一些合理的时间来帮助您.

有什么还不够简单?您是最感兴趣的人,您知道该如何做,接下来应该做什么:深入API,从 MathWorks ,搜索一些简单的代码示例.此外,您还具有有关需要实现哪些特定功能的更多信息.您为自己的需要付出时间,而不是我们已经专门用来帮助您和其他人的时间,这不公平吗?

我们既不是您团队的开发人员,也不是您的导师.我们特别关注.您确实应该做您的工作并使用自己的资源.如果您遇到困难,我们将很乐意为您提供帮助,并可以提出您需要帮助的特定问题.

—SA



Sorry, I don''t have an opportunity do donate much more of my time for this problem. I think I already donated some reasonable time to you in order to help you.

What is not simple enough? You are the most interested person, you know what to start with and you should know what to do next: dig in the API, obtain the binding assembly from MathWorks, search for some simple code samples. Moreover, you have more information on what particular functionality you need to implement. You pay your time for your needs, not our time which we already devoted to help you and others, isn''t this fair?

We are neither the developers of your team, nor your tutors. We address particular concern. You really should do your work and use your own resources. We will gladly help if you are stuck and can formulate the particular problem you need help with.

—SA


您是否可以保存由Matlab程序创建的图像,然后在C#应用程序中将其打开?看来这可能是最简单的解决方案(也许不是最理想的解决方案).
Can you just save the image created by the Matlab program, and then open it in the C# application? That seems like it could be the simplest solution (maybe not the most ideal).


使用COM控制Matlab:
MATLAB自动化服务器的示例 [
Control matlab using COM:
Examples of a MATLAB Automation Server[^] - otherwise do as lewax00 suggests.

That''s how I sometimes use matlab at work :)

Best regards
Espen Harlinn


这篇关于Ccharp和Matlab之间的链接的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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