How can I create a function handle to a function that is private defined within a class?
2 次查看(过去 30 天)
显示 更早的评论
I want to pass a private function handle to a variable, even within the same class, but the MATLAB answer is that there is no public field called this fn. Does anybody know if it is possible? Thanks !
2 个评论
Vineeth Nair
2018-9-10
Can you share your code? Because ideally you should be able to call a private method within the same class.
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!