LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Matlab MEX Files in LabView ?

Hi battler.,

 

I apologize that no one has responded to your post. It must have slipped thru our servers somehow. Regarding calling a MEX file from LabVIEW, there does not seem to be a direct, straightforward way to do this. Some other customers have attempted to do this in the past with varying success. Check out this forum for some more information.

 

It may be advantageous to look into other methods of using your MATLAB® code with LabVIEW. You can look into using the MATLAB® Script Node, but that requires have MATLAB® on the computer running the VI. You can also look into using the MathScript Node. It also supports .m file script syntax. For more information on this please check out this link.

 

Please post back if you have further questions.

 

Aaron P

National Instruments

Applications Engineer

http://www.ni.com/support

 

MATLAB® is a registered trademark of The MathWorks, Inc. Other product and company names listed are trademarks and trade names of their respective companies.

0 Kudos
Message 11 of 14
(1,326 Views)

Thanks for the link, it was somewhat helpful.

 

Seems like a complex issue which I'll have to address at a later date; and one which I hope NI attends to in the meantime.

 

Cheers,

 

Battler.

0 Kudos
Message 12 of 14
(1,309 Views)

Good day,

 

Is there now a work around for calling Mex files in matlab script node? Currently using matlab r2009a and labview 8.6.1. thanks

0 Kudos
Message 13 of 14
(966 Views)

hi...

i also have a problem in importing matlab C-mex files into Labview.Is there anyone has ever solve this problem?

0 Kudos
Message 14 of 14
(886 Views)