ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to matlab script and labview Let the programs work together

The current issue I'm encountering with using Matlab scripts is that it fails to work when receiving values from a global variable. The reason for using a global variable is because I'm receiving accelerometer data through MyRIO and then passing it to the program named "FFT" via a Recent File node. Afterwards, I'm sending it to the Matlab Position program, as indicated in the attached file.

0 Kudos
Message 1 of 4
(996 Views)

Hi Output,

 

the error message is quite clear: the Matlab node is not supported on your myRIO realtime target…

 

Do you think it's a good idea to run greedy loops on your myRIO? (FFT.vi consists of two greedy loops!)

What's the point in running your Matlab node in a greedy loop?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(989 Views)

HI Gerd W thanks for solutions.It means that you can solve the problem by installing the software shown in the image I provided, correct?

0 Kudos
Message 3 of 4
(980 Views)

Hi Output,

 


@Output112 wrote:

HI Gerd W thanks for solutions.It means that you can solve the problem by installing the software shown in the image I provided, correct?


What do you try to install?

You cannot use the Matlab script node on your RT myRIO target. Point.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(976 Views)