« Return to Thread: load data

RE: load data

by HALL, BENJAMIN PW :: Rate this Message:

Reply to Author | View in Thread

|-----Original Message-----
|From: agronomist [mailto:eero.schroderus@...]
|Sent: Tuesday, July 07, 2009 8:14 AM
|To: help-octave@...
|Subject: Re: load data
|
|
|typing
|A = load("U:\Octave\datafile.dat");
|gives:
|
|warning: unrecognized escape sequence '\O' -- converting to 'O'
|error: load: unable to find file U:Octave

use:

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

or

A = load('U:\Octave\datafile.dat')

Check out the octave manual to better understand how strings are handled
http://www.gnu.org/software/octave/doc/interpreter/Strings.html#Strings

_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave

 « Return to Thread: load data