ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compiling an application that uses Matlab script

Hi
 
I have sub vi's that contain Matlab script.  If I complile my appliaction in appliactions builder will it run OK still on another PC that does not have Matlab installed.  If not, can anybody let me know what labview add-on or Matlab toolkit I need to compile my application so it will run the Matlab script OK?
 
Incidently I am using LabVIEW 7.1 at present.
 
Many thanks
 
Ash
0 Kudos
Message 1 of 3
(2,896 Views)

The MATLAB Script Node is basically an interface to the MATLAB application installed on the machine. As far as I remember, the MATLAB Script Node uses what's called a "script server" that connects to a hidden instance of MATLAB when the VI is loaded into memory. It's the same case for executables; you have to have MATLAB installed on the machine that runs the executable VI.

I suggest that you take a look at the MathScript feature in LabVIEW 8.20. It is able to execute many common m-scripts and MATLAB style functions all in LabVIEW - and with 8.20 it will even work with executables... Check out this thread!

Good luck!

 
Cheers,
Philip Courtois « Development Engineer « 2C A/S « Denmark « Heading towards CLA

Message 2 of 3
(2,889 Views)

Thanks Phillip - it all makes sense

Cheers

Ash

 

0 Kudos
Message 3 of 3
(2,884 Views)