LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

matlab, labview, dlls

I just cut and paste an old message which was not aswered sufficiently but still of great interest to me: "I want to be able to call MATLAB Compiler generated dll shared library
without invoking MATLAB (otherwise I would have use the MATLAB script node). I thought this will allow me to develop my algorithm in MATLAB, then packaged it in dll and use it in LabVIEW without needing MATLAB.
Because MATLAB dll has input/output argument in mxArray format, I don't know how to setup 'call library function' to use mxArray. [...] Have sambody an answer how to use and setting up 'call library function' with MATLAB Compiler generated dll stand-alone shared library?"

Thanks in advace,
Andrea
0 Kudos
Message 1 of 2
(2,993 Views)
You might consider creating a wrapper dll. Most of Mathwork's documentation is for interfacing a Matlab dll in C++. You can write a C++ dll to interface with the matlab dll and then call the C++ dll from LabVIEW.
0 Kudos
Message 2 of 2
(2,993 Views)