LabVIEW NXG Opens The Wrong Version Of MATLAB

Updated Oct 14, 2020

Reported In

Software

  • LabVIEW NXG

Issue Details

I have LabVIEW NXG, MATLAB 2018 and MATLAB 2013 software. I am developing on LabVIEW NXG interface. I want LabVIEW NXG to open MATLAB 2018 but it opens 2013 version. How can I have LabVIEW NXG open my desired version of MATLAB?

Solution

LabVIEW determines which version of The Mathworks, Inc. MATLAB® to run by checking the registry for the MATLAB® Class ID and invokes that ActiveX object.

For opening your desired Matlab version from LabVIEW:
  1. Uninstall all versions of MATLAB.
  2. Install the MATLAB version you want to be programmatically launched.
    • From the example above, that would be MATLAB 2018
  3. Then, i​​​​nstall any other versions of MATLAB software