LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Programmable choose Matlab ActiveX DLL

Solved!
Go to solution

Hi,

 

We are using Labview with Matlab ActiveX DLL. Everything work fine. But, every one we recompile the Matlab DLL, I need to re link the static reference to the new Matlab DLL. It's possible to get the link dynamic?

 

So, if we recompile the dll (keeping the same input, output, functionName, version), I don't need to re link my reference, only : 

1) regsvr32 -u test.dll,

2) remplace the C:\Y_Code\test.dll with the new one

3) regsvr32 test.dll

21017iD4C26CB54E4BD1D1

 

I include the basic VI, the 3 different Matlab DLL (can be rename).
Test_1_0_1.dll = Add m+n+1.1

Test_1_0_2.dll = Add m+n+2.2

Test_1_0_3.dll = Add m+n+3.3

 

Off course, you will need the Matlab Runtime MCR7.10 (if need, I can send you the runtime, but 152Meg...)

 

Thank

0 Kudos
Message 1 of 3
(2,533 Views)

Your question is not specific to Matlab, as it applies to any ActiveX. It has also been asked before. What you are asking for is not possible in LabVIEW.  You would need to create some form of wrapper DLL that will actually interface to the ActiveX component.

Message 2 of 3
(2,529 Views)
Solution
Accepted by topic author CFiset

@smercurio_fc wrote:

Your question is not specific to Matlab, as it applies to any ActiveX. It has also been asked before. What you are asking for is not possible in LabVIEW.  You would need to create some form of wrapper DLL that will actually interface to the ActiveX component.


Thank

How I can make a wrapper? I don't really understant what is a wrapper

 

Thank

0 Kudos
Message 3 of 3
(2,516 Views)