matlabdlllabviewmatlab-deploymentmatlab-compiler

How can I use matlab source code in labview without matlab?


I found mathscript can do this,but it seem too slow. So I want to use matlab to create a dll file used by labview,but all information I can find just how dll could used in C++,but C++ also must use the .lib file ,I am concerned labview could not use lib. file.

So can I use the .dll in labvew,and how?Is there anyother way to use matlab source code in labview without matlab?


Solution

  • You will need to purchase the MATLAB Compiler which is quite expensive unless you are a student.

    You can also call the MATLAB application (if it's installed) using the MATLAB Script Node (which is different than Mathscript) - see here

    Another alternative is Python's Numpy which I personally picked up quickly coming from a MATLAB background. If you want to go down that route I can give you further advice on how to integrate with LabVIEW.