Check if property is dependent

19 次查看(过去 30 天)
I'm trying to write a method that checks if the non-dependent properties of a class are initialized properly. Using ` fieldnames` I can get all non-hidden properties and iterate over them, but can I then discriminate between dependent and non-dependent? I don't want to make the dependent properties hidden.

采纳的回答

Walter Roberson
Walter Roberson 2017-12-20
  1 个评论
Jurgen
Jurgen 2017-12-20
Thanks, I skimmed over that one before, must have missed it. It even has a full implementation of a findAttribute function for finding the dependent properties.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Type Conversion 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by