MATLAB Answers


How to use variables from buttonApushed function in a buttonBpushed function

Asked by Amine ELMOUATAMID on 12 May 2019
Latest activity Commented on by Amine ELMOUATAMID on 13 May 2019
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 ?


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

Sign in to comment.

0 Answers