LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Check if matlab is open

I have an application that calls Matlab via a Matlab Script Node. Matlab opens when the vi is first loaded but afterwards the user can close it and LabView throws an error. Is there any way I can check if Matlab is open and if not, open it?

 

H

0 Kudos
Message 1 of 2
(2,553 Views)

Hi HernanGrecco,

you can use the WinAPI. Try to get a handle to matlab. If you get a valid handle, then it's opened otherwise not.

 

Mike

0 Kudos
Message 2 of 2
(2,543 Views)