LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to run Matlab program from LabVIEW?

Hi

 

I try to run a .m file from LabVIEW8.5 through Matlab Script Node. It throws "Error 1050 occured at LabVIEW.Error Occuring while Executing Script.Error message from server". But the same .m file executes in Matlab software version 7.8.  and gives output correctly. Can u help to analyse this Error?  Is it because of Matlab Errr or we cant implement some functions in LabVIEw.

 

Thanks

Charu

0 Kudos
Message 1 of 3
(4,223 Views)

Hello Charu,

 

Do you have MATLAB installed on the same machine? MATLAB Script Node requires a licensed copy of the MATLAB software version 6.5 or later installed on your computer to use MATLAB script nodes because the script nodes invoke the MATLAB software script server to execute scripts written in the MATLAB language syntax

 

MATLAB Script Node

http://zone.ni.com/reference/en-XX/help/371653B-01/gmath/matlab_script_node/

Andy Chang
National Instruments
0 Kudos
Message 2 of 3
(4,214 Views)

Assuming you have Matlab intalled, error 1050 can occur for several reasons. Did you try to perform a search before posting your question? This question has come up many times.

0 Kudos
Message 3 of 3
(4,203 Views)