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 件のコメント

Stephen23
Stephen23 2018 年 7 月 5 日
編集済み: Stephen23 2018 年 7 月 5 日
  • If you are using GUIDE then use guidata.
  • If you are sensibly writing your own code then use nested functions:

サインインしてコメントする。

回答 (0 件)

カテゴリ

質問済み:

2018 年 7 月 5 日

編集済み:

2018 年 7 月 5 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by