How can I integrate compiled MATLAB code with NI LabVIEW?
62 views (last 30 days)
Show older comments
MathWorks Support Team
on 2 Dec 2021
Edited: MathWorks Support Team
on 2 Sep 2022
I need to integrate a MATLAB function with a NI LabVIEW VI. LabVIEW runs on a machine on which I don't have MATLAB installed. Is there an efficient approach for calling deployed MATLAB code from LabVIEW?
Accepted Answer
MathWorks Support Team
on 2 Sep 2022
Edited: MathWorks Support Team
on 2 Sep 2022
A good approach is to create a .NET assembly for your MATLAB code by using MATLAB Compiler SDK . On the deployment machine, the generated .NET assembly can be called from LabVIEW.
This approach is described in the following application note published on the NI website:
0 Comments
More Answers (0)
See Also
Categories
Find more on LabVIEW in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!