LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

integrate matlab command window

Hi,

 

My current application needs to integrate matlab and labview together. Matlab script node is usually what people use. However, is there a way to integrate the floating matlab command window into the labview front panel? Thanks.

0 Kudos
Message 1 of 3
(2,734 Views)
Not directly. That window is opened by Matlab, and LabVIEW doesn't really control it. Are you just trying to hide it, or will you actually be using it? If you just want to hide it, then you can use operating system calls to hide it. Do a search for this, as this has come up before. As far as using it, you could have your own string control on your front panel and then use operating system calls to send messages to the command window. That's going to be a real pain, though. Matlab supposedly has an ActiveX interface that you can probably use, but I've never tried to directly use it.
0 Kudos
Message 2 of 3
(2,719 Views)
Thanks. I ended up using the matlab script node and hided the matlab window. Then I used evalc command so I can get the feedback from the matlab to mimic the command window. It is not natural but works so far.
0 Kudos
Message 3 of 3
(2,706 Views)