LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multi mfile matlab interfaced with labview

Hi Everyone

after searching i didnt find a helpful answer for my question.

im trying to link mfile that calls many other function files to do calculation. i used matlab script to call the mfile but it does not respond. i only pasted th mfile of the main code where all the other functions gets called to perform some calculations.

 

thanks alot. 

0 Kudos
Message 1 of 2
(2,360 Views)

I may have had the same problem whereby I was calling functions in .m file from a matlab script node but getting errors everytime.

 

The fix for me was to use the addpath() method on all directories where I had matlab file and that seemed to sort everything out.

 

addpath.png

 

 

 

David Clark
CLA | CTA
IDEX Biometrics UK Ltd
Hampshire, England
0 Kudos
Message 2 of 2
(2,334 Views)