GUI data sharing problem?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
i want to load a mat file which contains neural network object file using a pushbutton; but the problem is after using uigetfile command; i don't know how to use it or share it among different gui callbacks.
Plz tell me the next steps to share among different callbacks.
0 Kommentare
Antworten (2)
Matt Fig
am 1 Dez. 2012
Put the call to UIGETFILE in the callback for the pushbutton. Then immediately after the return, simply use the open the file as usual.
2 Kommentare
Image Analyst
am 1 Dez. 2012
Refer to the FAQ for several methods to share variables outside of their own local function, which is usually only where they are in scope. http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
0 Kommentare
Siehe auch
Kategorien
Mehr zu Image Data Workflows 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!