GUIDE GUI desing
Mostra commenti meno recenti
Hello Folks
I am trying to create a button that would launch "open file" functionality in order to save a ".mat" file , for use in the GUI.
the second issue i have, let's say i ahve popup menu that when one of its element is selected a certain algorithm is executed, this part i have done, but i want the algorithm function that has returned vector, to display one of its rows data in a text format in the GUI "say in a small frame"
i am using GUIDE. i am not sure if programmatic GUI works together with uicontrol object directly "i mean inside one of the function that gets generated in GUIDE"
3 Commenti
Jan
il 21 Mar 2012
This is possible with GUIDE. What did you try already and which problems occurred?
Sam
il 21 Mar 2012
Arthur
il 22 Mar 2012
You're not reading the value of the popup correctly. str = get(hObject,'String') will return all strings of the popup. In your case str = {'Ellipsoidal Estimation', 'Recursive Least Square'}. You will have to use v = get(hObject,'Value') to read at which position the popup is.
Did you try the solution I suggested here? http://www.mathworks.nl/matlabcentral/answers/32836-pop-up-menu-in-guide
I'm pretty sure that should work.
Risposte (1)
Aldin
il 21 Mar 2012
0 voti
For first problem:
Write as Callback for your button this code:
[a,b] = uigetfile open([b,a])
Categorie
Scopri di più su Digital Filter Analysis in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!