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: 

Own MATLAB functions and LabVIEW

Where should my own functions be located that they can be found by a script running in LabVIEW?

Take for example the following simple script, which uses 'myfun.m':
plot(x,myfun(x));

Where should myfun.m be located?

Thanks in advance,

Tim
0 Kudos
Message 1 of 3
(2,843 Views)
I do not have Matlab on my machine, so this is a shot in the dark. --
Make sure the m file is located in Matlab's search path.
0 Kudos
Message 2 of 3
(2,843 Views)
Have you found the answer? I have the same problem...
0 Kudos
Message 3 of 3
(2,843 Views)