Click here to Skip to main content
15,922,315 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to export .dll library from Matlab (.m files) to use it in VB.NET. I am using this statement in Matlab to make DLL:

mcc –t –L C –W lib:foolib –h foo.m

foo.m : is the m file in Matlab which I want to convert to DLL.
foolib : dll library.

When I add foolib.dll to VB.NET (in Add Reference/Project menu) this message appears: Please make sure that the file is accessible , and that is a valid assembly or COM component. My question is: I need solution for the error message or another way to use Matlab functions (such as plot) in VB.NET. Please help.
Updated 15-May-10 12:58pm

1 solution

Take a look at this article[^]. The article shows three ways to integrate matlab with .net. The article and sample code is in c#, shouldnt be that hard to do it in
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