Can anyone test the following for me? I want to check the property access on a value that is of handle class. Let's say you have the following 2 classes:
ClassA.m:
classdef ClassA < handle
properties
x = 0;
end
end
ClassB.m:
classdef ClassB
properties (SetAccess = private)
a;
end
methods
function obj = ClassB
obj.a = ClassA;
end
end
end
Then at octave prompt:
obj = ClassB
obj
obj.a.x = 10
Michael.