Is there a difference between declaring a class property "Dependent" versus "Dependent = true"?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
Brendan Hamm
le 12 Juil 2019
1 vote
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.
Catégories
En savoir plus sur Software Development Tools dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!