Click here to Skip to main content
15,888,287 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 5-Sep-18 5:59am

1 solution

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[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900