Running Matlab code from LabView

1 次查看(过去 30 天)
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 个评论
Zachery Olson
Zachery Olson 2023-8-21
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
Labview has a script node where you can cut & paste your Matlab code into it and wire the inputs & outputs
  3 个评论
bym
bym 2011-12-23
An alternative would be the Data Acquisition Toolbox. I don't have any experience with that :(
prachaya songmusik
prachaya songmusik 2021-3-18
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