02-03-2010 09:45 AM
Hello,
I want to automatically change the working directory of the Mathscript node in a VI to the working directory of the VI, so that I don't have to specify everytime where my .m file is, as most likely it will be in the same folder as the VI.
Thank you,
Walid F. Abdelfatah
Solved! Go to Solution.
02-03-2010 11:05 PM - edited 02-03-2010 11:07 PM
Hi Walid,
The following snapshot illustrates how to add your VI's directory to MathScript Search Paths.
02-04-2010 09:17 AM
Just another related questions:
If I have multiple MathScript nodes in a VI :
1. Changing the working directory of one node, does it change the working directory of all nodes ? I changed the working directory of one node and in another node I called a user-defined script, but I got that it is an invalid name.
2. Is it fine to have multiple Mathscript nodes, or is there some coding style I better follow ?
Thank you ttrr,
Walid
02-04-2010 03:22 PM