[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MATLAB / Octave compatability, spacing, parsing
From: |
Paul Roberts |
Subject: |
Re: MATLAB / Octave compatability, spacing, parsing |
Date: |
Mon, 24 Oct 2005 13:55:08 -0700 |
Hi Steve,
I have a MATLAB 7.0.0.19901 on one of my machines, and I can confirm that:
A = B ';
does not parse. In contrast, MATLAB seems to be fine with:
this = that (with, some, parms)
or
this = that(with, some, parms)
Paul
On 10/24/05, John W. Eaton <address@hidden> wrote:
> On 24-Oct-2005, Steve C. Thompson wrote:
>
> | but I think that MATLAB generally wants
> |
> | this = that(with, some, parms);
>
> Why? What happens if you have a space before the open paren?
>
> | works in Octave but MATLAB requires
> |
> | a = b';
>
> Again, why? What happens if you have a space between be and the
> single quote character?
>
> | Do any of you know of a resource that could be helpful?
>
> You could ask on comp.soft-sys.matlab why Matlab stupidly interprets
> whitespace as significant in these cases. 1/2 :-)
>
> jwe
>
>
>
> -------------------------------------------------------------
> Octave is freely available under the terms of the GNU GPL.
>
> Octave's home on the web: http://www.octave.org
> How to fund new projects: http://www.octave.org/funding.html
> Subscription information: http://www.octave.org/archive.html
> -------------------------------------------------------------
>
>
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------
- MATLAB / Octave compatability, spacing, parsing, Steve C. Thompson, 2005/10/24
- MATLAB / Octave compatability, spacing, parsing, John W. Eaton, 2005/10/24
- Re: MATLAB / Octave compatability, spacing, parsing,
Paul Roberts <=
- Re: MATLAB / Octave compatability, spacing, parsing, Steve C. Thompson, 2005/10/27