Figure, linkdata, and GUIDE made GUI: how to share workspace

1 Ansicht (letzte 30 Tage)
Csaba
Csaba am 13 Dez. 2016
Bearbeitet: Csaba am 13 Dez. 2016
I have made a GUI which creates different figures with Figure(NNN) command. I wanted to link data present in different Figures and calculated, reformatted, etc. in GUI using different buttons. So I used "linkdata" command with aproppriate XDataSource and YDataSource properties. I always got failed link.
The only solution (or better to say bypass) was if I have put the variables to link into a global structure and while I am in command widow issue the command 'global xxx' where xxx the structure containing the linked data. So I have put this global variable also into the workspace of the command window. In this case everything was working well, the linked data were updated etc.
But this is only a bypass, I would like to run the program from an exe file and without even having Matlab command window.
What I am making wrong?
Thanks,
Csaba

Antworten (0)

Kategorien

Mehr zu Migrate GUIDE Apps finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by