LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Matlab open the command window under a specific directory?

We're trying to run an integrated system which requires both MATLAB and labview.  We know how to call MATLAB, but we can't get it to call the command window under the directory we want.  This is neccessary if we are to use our library .m functions we've written.

Thanks in advance!
0 Kudos
Message 1 of 2
(2,466 Views)

Hey Smith College student,

Are you planning on using MathScript?  If so, take a look at the MathScript-Lorenz Diff Eq.vi that ships with LabVIEW (Help>>Find Examples>>Search "Lorenz").  This example shows how to use the "path" command to access files in different directories.  Here is reference for the path command in case it's helpful.

I hope this is useful.  Let us know if you're still having trouble.
Megan B.
National Instruments

0 Kudos
Message 2 of 2
(2,457 Views)