Running Matlab code from LabView

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 个评论

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.

请先登录,再进行评论。

 采纳的回答

bym
bym 2011-12-23

1 个投票

Labview has a script node where you can cut & paste your Matlab code into it and wire the inputs & outputs

3 个评论

What if my Matlab code uses a lot of built-in functions, for example from the Signal Processing toolbox, as well as my own user-written functions?
An alternative would be the Data Acquisition Toolbox. I don't have any experience with that :(
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

请先登录,再进行评论。

更多回答(0 个)

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by