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: 

calling a .m file from labview to matlab using mathscript node

Hi all.

 I need to call a .m file from lab view to matlab. I am using mathscript node for image processing. But here I am facing the problem in reading the image and getting the output from mathscript node. Here I am attaching the file. please give me some suggestions  how to overcoe this problem. Thanks in advance.

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

Probably a daft question but have you got your Mathscript paths setup?

 

I setup all my paths in the Tools > Options > Mathscript but found I still had to specify my search paths in my MathScript node to get it to find .m file i.e. 

 

addpath('C:\myFunctions');

 

Dave

David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
0 Kudos
Message 2 of 2
(2,422 Views)