How to use variables from buttonApushed function in a buttonBpushed function

jj.PNG
there are some cell arrays created when I push browse button
and I need to work on those cell arrays when I push add data button
the problem is those cell arrays are local , so I can just work on them in browseButton function
someone can help ?

댓글 수: 2

You could for example use setappdata and getappdata.
You can find a good overview about possible approaches here

답변 (0개)

이 질문은 마감되었습니다.

질문:

2019년 5월 12일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by