hi to all.
i have a matlab project which i have to import to vb.net.
im using a comtool to create a dll to reference the project.
the code is as follows:
However i get errors like :
any idea how to correctly call the dll(project works fine in matlab).
thnks
regards, nishna
i have a matlab project which i have to import to vb.net.
im using a comtool to create a dll to reference the project.
the code is as follows:
VB.NET:
Imports MWComUtil
Imports try1
Public Class Form1
Dim test As try1.try1class = New try1.try1class
Dim mw As MWComUtil.MWUtil
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
test.frmwel()
End Sub
End Class
VB.NET:
Error 1 Argument not specified for parameter 'nargout' of 'Public Sub frmwel(nargout As Integer, ByRef varargout As Object, varargin As Object)'. C:\Documents and Settings\nishna\My Documents\Visual Studio 2005\Projects\try\comtry\comtry\Form1.vb
thnks
regards, nishna
Last edited by a moderator: