08-31-2008 07:30 AM
Hi,
When trying to differentiate between MATLAB node and MATHSCRIPT node, I found that MATLAB node requires matlab to be installed as labview and matlabe are communicating via activex server technology. Very well.
My question is if I have several m files and have a function in the main program that calls other files, MATLAB needs to know the path of it (current diectory or work folder). how to achieve that in labview
in other words, how labview could tell matlab about where the m files to be called (as it doesn't require matlab to be opened).
08-31-2008 08:48 PM
Hi,
You can invoke command path to set searching path. Then, MATLAB script node knows where to find your m files.
Please find the detail in the following example
<examples>\scriptnode\MATLAB script node - Lorenz Diff Eq.vi
09-02-2008 03:58 AM