我可以使用matlab编码器为C#项目生成.NET DLL吗? [英] Can I use matlab coder generating .NET DLL for C# project?

查看:83
本文介绍了我可以使用matlab编码器为C#项目生成.NET DLL吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我在Matlab中有一个计算算法,我想在我的C#项目中使用该算法。

I计划将此MatLab代码转换为.net dll,但我不想安装MatLab运行时。



我可以使用Matlab Coder生成.Net dll吗?



我知道MatLab库编译器可以生成.Net .dll,但它需要MatLab运行时才能运行dll。



非常感谢您的帮助。



Eric



我尝试过:



我使用Matlab Coder从MatLab项目生成C代码。

但我需要.net .dll用于我的C#项目

解决方案

无论你做什么,你都不会逃避不安装客户端上的MATLAB运行时。任何.DLL的MATLAB生成,无论它们是库,基于COM还是基于.NET,都需要MATLAB运行时。



Google:matlab生成.NET DLL [ ^ ]

Hello,

I have a calculation algorithm in Matlab, and I want to use that algorithm in my C# project.
I plan to convert this MatLab code to a .net dll, but I do not want to install the MatLab runtime.

Can I use Matlab Coder generating a .Net dll?

I know MatLab library compiler can generate .Net .dll, but it needs MatLab runtime to run the dll.

Thanks a lot for your help.

Eric

What I have tried:

I use Matlab Coder generating C codes from the MatLab project.
But I need .net .dll for my C# project

解决方案

No matter what you do, you're not going to get away with not installing the MATLAB runtime on the clients. ANY .DLL's MATLAB generates, no matter if they are library, COM-based, or .NET-based, will all require the MATLAB runtime.

Google: matlab generate .NET DLL[^]


这篇关于我可以使用matlab编码器为C#项目生成.NET DLL吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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