Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.
|
|
drz
Posts:
2
Registered:
5/15/14
|
|
Re: matlab-labview
Posted:
May 15, 2014 12:02 PM
|
|
"John" wrote in message <keh507$5iu$1@newscl01ah.mathworks.com>... > Its been a while since the original message was posted, but I am interested in doing the same thing. If anyone has any tips (and examples!) on how to successfully call a Matlab DLL from LabVIEW, please let me know. I am worried I will have to wrap the DLL into another DLL because of the emxArray datatypes.
There was a post regarding this a while back on the NI forums. http://forums.ni.com/t5/LabVIEW/Matlab-DLL-with-mxArray-Type-using-with-Labview/td-p/65295.
One of the members suggested following these steps for making a C/C++ wrapper for your Matlab dll (yo dawg i heard you like wrappers) http://www.labviewpro.net/upfiles/dllmatlablabview.pdf
I was in the same predicament a while ago, but decided to rewrite everything into C/C++ instead. The extra wrappers are just a headache and there is no guarantee that a new version of either ML or LV will maintain the functionality of your nested wrappers.
|
|
Date
|
Subject
|
Author
|
5/15/14
|
|
drz
|
5/15/14
|
|
drz
|
|
|