LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use a MATLAB license with password peotection?

I am using a MATLAB network license, which is password protected, so when I use a MATLAB script node LabVIEW can't load the proper MATLAB license and fails.
How can I submit the username+password info to LabVIEW?
0 Kudos
Message 1 of 3
(2,899 Views)
Hello malosh,

Unfortunately the functionality is not in place for LabVIEW to pass your username and password into MATLAB for you. Is it possible to log into MATLAB and then run your LabVIEW application?

If none of these suggestions help, or if I�m not correctly understanding your issue, please reply with comments or answers to the discussion above and any additional information that may help, and I�ll be happy to look further into it.

Have a nice day!

Robert Mortensen
Applications Engineer
National Instruments
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,897 Views)

I sovled this issue by running the VI that includes the MATLAB node under the same user name+passwd as the MATLAB license itself.

This can be done in several ways:

  1. Logging into the machine that runs LabVIEW with the same username as the one required for the MATLAB license.
  2. Running LabVIEW with the "Run as..." option and log in with required username.
  3. Once the VI containing the MATLAB node is compiled (by any of the methods above) it can be placed on another machine that is logged in as the MATLAB required user, and be used by the VI server. This way the MATLAB runs on a different machine and the load resuces from the LabVIEW developement machine!
0 Kudos
Message 3 of 3
(2,838 Views)