sharing data between forms

1 view (last 30 days)
Nishat Anjum Shaikh
Nishat Anjum Shaikh on 5 Jan 2012
i have computed value for iCodeSample{i} in the callback function of a button in one form and i want to use this iCodeSample{i} in another form.
I think handles structure is to be used.. but i could'nt implement it successfully. please help

Accepted Answer

TAB
TAB on 5 Jan 2012
If 'differnt form' means 2 different GUIs, you can copy the figure handle of one form into other form in which you want to access the value.
See a good example at...

More Answers (0)

Categories

Find more on Scope Variables and Generate Names in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!