Is there a difference between declaring a class property "Dependent" versus "Dependent = true"?
조회 수: 1 (최근 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!