[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Help with properties()
From: |
Rik |
Subject: |
Help with properties() |
Date: |
Fri, 22 Feb 2019 11:07:00 -0800 |
Can someone provide some more on the classdef implementation by placing the
following code in a file testprop.m
-- START testprop.m --
classdef testprop
properties
testprop = 0;
end
properties (Access = protected)
protectedtestprop = 0;
end
properties (Hidden = true)
hiddentestprop = 0;
end
end
-- END testprop.m --
Then run
-- START code --
x = testprop
properties (x)
-- END code --
and upload the results. If I understand the documentation, only the
public, non-hidden property will be returned.
--Rik
- Help with properties(),
Rik <=