octave-maintainers
[Top][All Lists]
Advanced

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

Re: Does Matlab accept this syntax?


From: Серёжа Плотников
Subject: Re: Does Matlab accept this syntax?
Date: Thu, 23 Jan 2014 13:32:53 +0100

No, it doesn't.
>> aa = clA
Error using clA
Error: File: clA.m Line: 3 Column: 8
Unbalanced or unexpected parenthesis or bracket. 

for the following @clA/clA.m:

classdef clA
  methods
    end(this, k, n);
  end
end

Be happy,
Sergey


2014/1/23 Michael Goffioul <address@hidden>
On Thu, Jan 23, 2014 at 3:50 AM, Серёжа Плотников <address@hidden> wrote:
I've also had warning (R2013a) when saving @clA/end.m: "MATLAB will not be able to run the file end.m uness you change its name". But it worked well -- @clA/end was called successfully.

And does it work if you remove the "idx = " part in the "end" method declaration in the file @clA/clA.m?

Michael.



reply via email to

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