LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I port MATLAB code into Labview for large data sets?

Hi all,
 
We are trying to implement pattern recognition algorithms in real-time using Labview. Currently, the code is in Matlab 7.0 format. We use Matlab since we have to input large amount of template files that we are trying to match the pattern to. Matlab makes file I/O and signal processing algorithms easy, so we have chosen that as of now.
 
We would like to do this real time in Labview. However, rather than rewrite the code (which is very large and took a lot of manpower), I was wondering if there was a way to port Matlab code into Labview and preserve the functionality INTACT.
 
I know there are .DLL's and other modules within Labview for C Code, but do any facilities exist for Matlab code? It would be all the better if all the I/O functions and DSP algorithms were preserved intact (instead of having to buy the DSP Module for Labview and rewriting the code).
 
Thanks,
 
Sam
0 Kudos
Message 1 of 2
(2,636 Views)
Hi Sam,
 
It sounds like the LabVIEW MATLAB® Script Node might be a good solution for you.  This Script Node calls MATLAB software to execute scripts.  Check out the LabVIEW 8 Help File for this node.  These KnowledgeBases might also be helpful:  Can I Import Data from the MATLAB development environment to LabVIEW?  and What Can I Do With the MATLAB® script node and HiQ Script Node?
 
I hope this information helps!  Let us know if you have further questions.
 
Megan B.
National Instruments
0 Kudos
Message 2 of 2
(2,616 Views)