How to create dlls in matlab and use these dlls in .Net applications

I am working on image processing. I need to develop an OCR tool using Matlab. Is there any methodology for developing an OCR tool, creating a DLL, and using it in .Net applications. If so, how can I do this?

+8
c # matlab
source share
2 answers

You can try the MathWorks website. It looks like they have examples of creating mex files and using them in a .NET application. See Creating and Debugging Mex with Visual Studio 2010 and Matlab 2009b

Here 's an example that shows 3 different ways to integrate matlab with C #

+5
source share

you need to use Matlab Builder NE for such things. you can compile any matlab function loading Dll into .net as a class with a function. for this you need to use the Matlab Compiler Runtime - the MCR of the same version as the Matlab that you used with Builder NE.

+3
source share

All Articles