08-14-2007 04:44 AM
Solved! Go to Solution.
08-14-2007 05:57 AM
Hi Also i have another problem, although i get the feeling i am doing something silly.
If i have the following line in a mathscript node it works fine
Results = csvread('C:\results.csv')
However i created a string input on the mathscript node and called it FileIn. I then placed a Path control box on the front panel and used the Path to string converter and wired this to the mathscript node. Then replacing the above mathscript line with the following
Results = csvread('FileIn')
I double checked the string going into the node with a probe and it is correct.
Any thoughts? i know i am probably just missing something silly like not initialising the Variable FileIn or something. Any help would be appreciated.
Thanks in advance
Craig
08-14-2007 09:14 AM
08-14-2007 09:31 AM
Thanks Grant,
By removing the single quotes i managed to read in the .csv file fine thankyou. I have commented out the xlim functions and everything is rosy!
Craig