Check if property is dependent

14 ビュー (過去 30 日間)
Jurgen
Jurgen 2017 年 12 月 20 日
コメント済み: Jurgen 2017 年 12 月 20 日
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.
  1 件のコメント
Birdman
Birdman 2017 年 12 月 20 日
Share your code.

サインインしてコメントする。

採用された回答

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 Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by