LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Matlab DLL files - Where to put CTF file?

Hello,
 
I've created a DLL file using the Matlab Compiler.  I have tested the DLL by calling functions from it through a C executable, so I know it works.  I'm having some trouble getting the everything to work in LabView, though.
 
I am using a Call Library Function node to invoke the desired functions in the DLL.  When I call the initialize function, mclInitializeApplication succeeds, but the <libraryName>Initialize call fails.  From what I can tell, this is because LabView cannot find the CTF file that is used by the Initialize function to create the required support files.
 
What needs to happen so that the DLL can find the CTF file?
 
Thanks,
Alex Whitney
0 Kudos
Message 1 of 2
(3,607 Views)
Hi Alex,

The discussion forum thread dll, matlab an LadVIEW appears to discuss this issue at length. Many workaround and solutions are mentioned.

Michael K. | Applications Engineering | National Instruments

| Michael K | Project Manager | LabVIEW R&D | National Instruments |

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