data sharing Between two GUIs
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi everyone. i am using one main GUI and sub GUI. i want to share the variable in main GUI to sub GUI, for that i am using setappdata and getappdata. in my sub GUI i have two axes. when i am using handles to specify the axes to plot the data.i am getting error as shown below. command: plot(handles.time_axes,x,y);
error:
??? Attempt to reference field of non-structure array.
even when i am suing the following command set(handles.pp_value,'string',num2str(m)) i am having the same error.
please some one help me. can we use both handles and appdata in a GUI. please let me know where i am committing the mistake.
2 commentaires
Jarrod Rivituso
le 26 Mai 2011
Could you post a snippet of your code so people can see a little more of what you are trying to do?
Réponses (1)
Doug Hull
le 27 Mai 2011
Watch this video about data passing in GUI design in MATLAB.
0 commentaires
Voir également
Catégories
En savoir plus sur Language Fundamentals dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!