Error 1739 When Using Call MATLAB Function in LabVIEW

Updated Mar 29, 2024

Reported In

Software

  • LabVIEW

Programming Language

  • MathWorks MATLAB

Issue Details

I am calling a MATLAB script in LabVIEW using Call MATLAB Function node and I am getting the following error. I am confident the MATLAB script file exists and the path uaws is correct. How should I resolve this issue.

Error 1739 occurred at an unidentified location

Possible reason(s):

LabVIEW: (Hex 0x6CB) An error occured while executing MATLAB(R) source.


image.png

Solution

Although the MATLAB script is being called by LabVIEW, under the hood, the MATLAB script is executed by MATLAB itself and the result is feedback to LabVIEW. Hence, kindly ensure the file path, file name, and function name are following MATLAB's naming convention. This error happens commonly due to the file path, file name, or function name not following MATLAB's naming convention.