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!