Running Matlab code from LabView

조회 수: 1 (최근 30일)
K E
K E 2011년 12월 23일
댓글: Zachery Olson 2023년 8월 21일
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