Is there a difference between declaring a class property "Dependent" versus "Dependent = true"?
2 ビュー (過去 30 日間)
古いコメントを表示
The title says it all. The documentation doesn't make it clear whether or not there is a difference between
properties(Dependent)
aProp
end
and
properties(Dependent=true)
aProp
end
since it uses both seemingly interchangeably. Is there a difference?
0 件のコメント
採用された回答
その他の回答 (1 件)
Brendan Hamm
2019 年 7 月 12 日
There is no difference. For attributes which are binary (true/false) then just putting the attribute name is the same as toggling it from its default state.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Resizing and Reshaping Matrices についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!