octave-maintainers
[Top][All Lists]
Advanced

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

Classdef Matlab test


From: Michael Goffioul
Subject: Classdef Matlab test
Date: Wed, 22 May 2013 15:53:16 -0400

Could anyone test the following for me? Let's say you have the following class:

ClassA.m:

classdef ClassA
  properties
    y = 10;
  end
end

Then at matlab prompt:

x = ClassA()
x(2,2).y = 20
x.y

z(2,2) = ClassA()
z(2,2).y = 20
z.y

Thanks,
Michael.


reply via email to

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