Home > Software engineering >  Matlab and vb programming problem
Matlab and vb programming problem

Time:12-22

My configuration is matlab2010a, vb6.0 by use. My goal is to use the com component implementation vb call matlab, pre-production DLL went well, but when vb calls to the following tips: after I find in many ways, each version is online registration of DLL for  I have registered a success, but the call is appear this mistake, I really don't know what to do, seek help from god

CodePudding user response:

Artificial placed at the top, relationship to the graduation design, really very urgent

CodePudding user response:

Nobody know

CodePudding user response:

Don't be A language code is modified to B language code busywork,
Also don't use A language code to directly invoke B language code base, this complicated things so easy to get wrong,
Just make A, B language code of input and output is redirected to A text file, or modify A, B language code let it through text file input and output,
Can easily make A, B coordination between the two languages,

CodePudding user response:

First best installed on your machine runtime MCR, information about the MCR can baidu, second best VB.NET reference COM components, can be found directly in VB.NET mwcomutil references, and Matlab,.net mix of example, there are several in the Matlab installation folder, concrete is which path I don't remember clearly, but can use the search "curvefitcomp" folder, VB6 called matlab2010 I used, I don't know where the problem is, arguably, there is no problem,

CodePudding user response:

Don't be A language code is modified to B language code busywork,
Also don't use A language code to directly invoke B language code base, this complicated things so easy to get wrong,
Just make A, B language code of input and output is redirected to A text file, or modify A, B language code let it through text file input and output,
Can easily make A, B coordination between the two languages,
For example:
A will request data written to A file a.t xt, renamed after finish aa. TXT
B find aa. TXT, read its contents, call the corresponding function, and writes the results file b.t xt, after finish delete aa. TXT, changed its name to bb. TXT
Found A bb. TXT, read the content, after finish delete bb. TXT
Above can be replaced by any kind of A language or development environment, B can be replaced by any kind of with the development of A different language or development environment,
Unless A or B does not support to determine whether A file exists, file read and write and file name,
But who can name does not support to determine whether a file exists, file read and write and file name for the development of language or development environment?

CodePudding user response:

Upstairs brillant!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

CodePudding user response:

I have the same problem with you, urgent to solve

CodePudding user response:

VB call Matlab has a control can use the
MatrixVB, it can realize perfect calls
  • Related