LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview matlab

how can I run the Matlab script server in LabVIEW community edition 2020

0 Kudos
Message 1 of 6
(1,664 Views)

The LabVIEW community edition has all the capabilities that professional editions have. One may suppose it shouldn't be any different.

 

https://zone.ni.com/reference/en-XX/help/371361R-01/gmath/matlab_script_node/

0 Kudos
Message 2 of 6
(1,644 Views)

but I received a 1046 error when I run the code 

0 Kudos
Message 3 of 6
(1,631 Views)

Hi Hrishi,

 

did you read the error explanation?

Is Matlab installed on your computer?

Best regards,
GerdW


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

this is what the explanation

"LabVIEW: (Hex 0x416) LabVIEW cannot initialize the script server. Ensure the server software is installed."

but I have Matlab on my pc

0 Kudos
Message 5 of 6
(1,621 Views)

Is your Matlab licensed?

If not, it can totally be the issue.

 

There are many free alternatives to Mathworks' Matlab. I use Octave GNU (General public License) which should work fine with LabView. (even paid I would prefer it over Matlab)

 

P.S.

Searching for 1046 error

https://forums.ni.com/t5/LabVIEW-MathScript-RT-Module/Matlab-Scrip-Node-error-1046/td-p/1129179

0 Kudos
Message 6 of 6
(1,612 Views)