How can i use pushbutton callback in opening function callback?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I have a very long script file.But inorder to fix it in GUI, i have divided it into small functions. The program starts with GUI and few functions are written in opening function. When i click on push button callback function, i want one function to be called. But when i do this it gives me error. I think the values inside variables are not reaching the function because it gives me errors related to undefined variable, etc. What is the solution to this problem.
1 Kommentar
Chandrasekhar
am 11 Mär. 2014
check if the corresponding callback function for the push button is being called or not
Antworten (1)
Dishant Arora
am 11 Mär. 2014
Those variables are local to the opening function and thus the scope is limited to opening function only. See this How can I share data between callback functions in my GUI(s)?
Siehe auch
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!