Re: Build .dll in MATLAB to be used in LabView



"Jeremy " <a@xxxxx> wrote in message
<fq905e$3mt$1@xxxxxxxxxxxxxxxxxx>...
UP !!!!


"steffen " <steffen.ziegler.nospam@xxxxxxxxxxxxx> wrote in
message <feohtq$t70$1@xxxxxxxxxxxxxxxxxx>...
Hello,

I'm using MATLAB 7.0.4.365 (R14) Service Pack 2. I wrote a
function (.m) and would like to convert it into a .dll file
that can be called by Labview (8.5). What options should I
choose to make sure that LabView recognizes the file as a
valid .dll?

Steffen


Have you seen the "mathscript" node in LabVIEW? It allows
you to copy/paste matlab code (to an extent) into LabVIEW.

Also, an alternative is to go the other way from LabVIEW to
Matlab. The LabVIEW "Math Interface Toolkit" allows you to
convert ANY LabVIEW VI to a mex file at the press of a
button. You can have all the graphical interface and device
support that LabVIEW offers immediately in Matlab. Tough to
do streaming data applications, and the VIs take up your
main matlab process when running, but it's very useful for
lots of applications.
.


Quantcast