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

3 次查看(过去 30 天)
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

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by