03-15-2019 01:39 PM
Hi,
I'm trying to use DLLs created from Matlab Coder in Labview and it's not working. I've read mutiple post trying to better understand the issue. The main reference I'm using seems to point out the main problem being :
''MATLAB natively exposes all of its function parameters (including scalars, strings, etc.) with the mxArray type, as seen in the mlf function prototype screenshot from before. This is not a native C type, which is what LabVIEW knows how to interface with. LabVIEW does not know what to do with these types, which will pose problems for us later.''
I'be tried his walkthrough but still ended up with this error when everything was suppose to be working:
mclmcrrt9_1.dll is missing
Now I'm out of ideas. I was wondering if anyone was experience in using DLL from Matlab Coder in Labview. Ultimately, I would like to call one function (that called other Matlab functions) that takes as input single precision arrays.
As an an example, I've added what Matalb gives me for the DLL I create that sums two double precision 2D arrays.
Thank you and have a nice day.
RMT
03-18-2019 03:30 PM
Hello,
What versions and bitness of LabVIEW and MathWorks, Inc. MATLAB® are you using?
Also, is the missing DLL located on the computer and LabVIEW just cannot find it? If so, what directory is the missing DLL located in?
03-18-2019 03:52 PM
64bit in both case.
I have no idea what that DLL is. It was mention nowhere in the walkthrough.