Hi all,
I'm developing a class in which I am defining a structured variable (to keep the class neater) but want to define different Set/Get properties for the variables within the structure. As an example:
properties (SetAccess = protected) ... tables = struct('sqlQuery',table(),'trainingTable',table(),... 'numericTrainingTable',table()); end
Where I want sqlQuery to have SetAccess = Protected while i want trainingTable and numericTrainingTable to be (SetAccess = public, GetAccess = public).
I hope I explained this clearly enough, is this possible?
Thanks for the help.
AB
Best Answer