help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Parse Error


From: Doug Stewart
Subject: Re: Parse Error
Date: Fri, 28 Mar 2014 09:04:30 -0400




On Thu, Mar 27, 2014 at 4:29 PM, Corey L Hubbard <address@hidden> wrote:

I am attempting to load data file into the variables and y:

data = "">'ex1data1.txt');       % read comma separated data
X = data(:, 1); y = data(:, 2);
m = length(y);   
and I am getting an parse error like so; 

octave-3.4.0:1> /Applications/mlclass-ex1/mlclass-ex1/ex1.m 
parse error:

  syntax error

>>> /Applications/mlclass-ex1/mlclass-ex1/ex1.m 

Please advise…

Compliments,
Corey Hubbard
Founder, DreamHire
312-646-8513





my guess is that it has something to do with the path names

mlclass-ex1

try changing these so they don't have a minus sign  in them.

--
DAS


reply via email to

[Prev in Thread] Current Thread [Next in Thread]