From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,300 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,300 Views)
Have you found the answer? I have the same problem...
0 Kudos
Message 3 of 3
(2,300 Views)