load data

HALL, BENJAMIN PW benjamin.hall at pw.utc.com
Tue Jul 7 09:52:32 CDT 2009


|-----Original Message-----
|From: agronomist [mailto:eero.schroderus at jyu.fi] 
|Sent: Tuesday, July 07, 2009 8:14 AM
|To: help-octave at octave.org
|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



More information about the Help-octave mailing list