drinu16
drinu16

Reputation: 795

Convert MATLAB code to a library

How can i convert a MATLAB code to a library to be used from a C# project ?

Is MATLAB Compiler / Coder the only way, because they require a license which you need to buy in order to use them.

Upvotes: 1

Views: 376

Answers (3)

drinu16
drinu16

Reputation: 795

I ended up using Matlab code from c# like in this link

http://www.mathworks.com/help/matlab/matlab_external/call-matlab-function-from-c-client.html?refresh=true

Upvotes: 1

Terence
Terence

Reputation: 11078

It all depends on what version you are using.

You will need to use mcc or the MatLab .Net Builder

Upvotes: 0

Haymo Kutschbach
Haymo Kutschbach

Reputation: 3362

You should use a tool / library which offers similar syntax and similar functionality - but is purely a .NET library. It not only gains you a much simpler transition to your production ready code. It also gives you much more stable and faster results. Not to speak from Visual Studio integration...

Disclaimer: I am with ILNumerics.

Upvotes: 0

Related Questions