« Return to Thread: load data

Re: load data

by Przemek Klosowski :: Rate this Message:

Reply to Author | View in Thread


   typing
   A = load("U:\Octave\datafile.dat");
   gives:

   warning: unrecognized escape sequence '\O' -- converting to 'O'
   error: load: unable to find file U:Octave

   It seems like Octave for some reason cant handel our network drive system.

No, the problem is that within double-quoted strings \ is interpreted
as part of escape sequences. Actually you should have gotten the same
error when you used load("U:Octave\datafile.dat")---are you sure that
that's what you used before and that there was no error message?

You should double up the backslash:   A = load("U:\\Octave\\datafile.dat");
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

 « Return to Thread: load data