Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

calling a user defined Matlab function for use in a later Matlab script

I'm calling a Matlab script that relies on a user defined function.
How do I call and pass it on to the script?
Thanks for any help.
0 Kudos
Message 1 of 2
(2,564 Views)
When LabVIEW runs a Matlab script, it simply calls Matlab and runs the script there. It would then be up to Matlab to know where your user-defined function is. My guess would be that you could modify the Matlab settings to add the user-defined function's path to be part of Matlab's search path.
Robert Mortensen
Software Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,551 Views)