Running Matlab code from LabView
6 views (last 30 days)
Show older comments
I have a set of Matlab code that processes incoming measurements and does some calculations on them. The incoming measurements will be collected with a LabView cRIO, which also needs to receive the calculation results. The Matlab processing needs to be fairly fast. What is the most practical solution to setting up the Matlab code on the machine running LabView? No one involved in the project has done this before, so a simpler and more reliable solution is better.
1 Comment
Zachery Olson
on 21 Aug 2023
The Matlab code generally is only callable on a Windows PC using the Matlab node. It requires Matlab to be installed, which cRIO cannot support. You can use the built in math noes in the cRIO do do something similar, but it will not run in Matlab native solvers/math engine.
Accepted Answer
bym
on 23 Dec 2011
Labview has a script node where you can cut & paste your Matlab code into it and wire the inputs & outputs
3 Comments
bym
on 23 Dec 2011
An alternative would be the Data Acquisition Toolbox. I don't have any experience with that :(
prachaya songmusik
on 18 Mar 2021
hey @K E
Could you tell me ?
how did you solve your problem?
i am also facing this problem. i am using signal processing toolbox as well.
hope you able to see this comment
thank you in advance
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!