Error 1172 When Running a VI That Calls a MATLAB Function in LabVIEW

Updated Dec 26, 2022

Reported In

Software

  • LabVIEW 2020
  • MATLAB

Operating System

  • Windows

Other

  • Matlab® 2022b (64-bit)
  • Windows 10

Issue Details

I'm trying to integrate a MATLAB® function into LabVIEW.
When I try to run the VI, I get Error 1172.
Software versions in use as follows:
MATLAB 2022b (64bit)
LABVIEW  2020 (32 bit)

Solution

This error is due to using a different bitness for the software. By using the same bitness for both software, this issue will be resolved.