Setting Access Properties for Structured Variable
古いコメントを表示
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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Structural Mechanics についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!