|
From: | Michael Goffioul |
Subject: | Re: Classdef property access test |
Date: | Mon, 20 May 2013 18:19:13 -0400 |
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 < handlepropertiesx = 0;endendClassB.m:classdef ClassBproperties (SetAccess = private)a;endmethodsfunction obj = ClassBobj.a = ClassA;endendendThen at octave prompt:obj = ClassBobjobj.a.x = 10Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |