LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

support of external functions after compilation

Hi,

 

is it possible to still use external functions ( in .m files) after compiling a VI into an application.

 

When I use a VI in LabVIEW I can access an external MatLab function using the Mathscript node. After compiling the VI into a .exe it seems that the external MatLab function has been integrated into the application.

I don't want this since I need the possibility to perform certain changes on some algorithems when using a compiled LabVIEW application.

So, is there a way to still be able to use and effectively change external MatLab functions with a compiled LabVIEW application?

0 Kudos
Message 1 of 2
(5,835 Views)
Hello,

It is not possible to change a MathScript .m file after you have built it into an application.  However, if you know the different algorithms you will choose among when you are building the application, you can use the switch structure to choose the .m file to run.  Unfortunately, if you truly don't know the algorithm you wish to use until you are running the EXE, then this is not possible in a LabVIEW-built executable.

As an alternative, you can do this by using the MATLAB® script node with a copy of The MathWorks, Inc. MATLAB software.  However, if you are willing to buy a license for additional software, this can also work by running the VI in a full version of LabVIEW on the machine.

MATLAB® is a registered trademark of The MathWorks, Inc.

Grant M.
Staff Software Engineer | LabVIEW Math & Signal Processing | National Instruments
0 Kudos
Message 2 of 2
(5,831 Views)