Why does this problem occur?
1 次查看(过去 30 天)
显示 更早的评论
I have a callback function in a gui in which i am loading a file with two fields. When i run only that(callback function) part of the code, the fields get loaded in the work space. But when i run the entire code, the work space does not show the fields to be loaded. I didn't get any error either.
3 个评论
Stephen23
2018-7-7
If you are using GUIDE then use guidata. If you are sensibly writing your own code then use nested functions.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!