Running Matlab code from LabView

9 visualizaciones (últimos 30 días)
K E
K E el 23 de Dic. de 2011
Comentada: Zachery Olson el 21 de Ag. de 2023
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 comentario
Zachery Olson
Zachery Olson el 21 de Ag. de 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.

Iniciar sesión para comentar.

Respuesta aceptada

bym
bym el 23 de Dic. de 2011
Labview has a script node where you can cut & paste your Matlab code into it and wire the inputs & outputs
  3 comentarios
bym
bym el 23 de Dic. de 2011
An alternative would be the Data Acquisition Toolbox. I don't have any experience with that :(
prachaya songmusik
prachaya songmusik el 18 de Mzo. de 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

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by