08-10-2010 09:07 AM - edited 08-10-2010 09:08 AM
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
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
Solved! Go to Solution.
08-10-2010 09:12 AM - edited 08-10-2010 09:12 AM
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.
08-10-2010 03:05 PM
@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