Can a PostSet property be used as a replacement for a loop?
1 次查看(过去 30 天)
显示 更早的评论
Is it possible for a PostSet property to be used like a for loop? I would change the property at every end of an estimation process, which then jumps onto the next phase using the changed property. But for some reason that stops and the despite the PostSet listener it does not initiate the second modification process. Is there a reason for that? (It listens to the first modification, but not for the second)
Thanks for any help!
0 个评论
采纳的回答
Guillaume
2015-3-16
By default, a listener callback does not trigger its own event. You need to change its Recursive property to true for it to do that.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Subclass Definition 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!