passing arrays between functions?
显示 更早的评论
I have two fields in a file which are arrays. I've loaded them in one callback function of a gui. But I need them in another callback function for some calculations. How do I do this?
2 个评论
- If you are using GUIDE then use guidata.
- If you are sensibly writing your own code then use nested functions:
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Whos 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!