Info
This question is closed. Reopen it to edit or answer.
GUIDE help
4 views (last 30 days)
Show older comments
Hi, I'm trying to make a simple GUI using GUIDE which takes the data from the user in order to start a program which runs continuously and does what it has to do on it's own. The problem i'm having is declaring a variable that i can use in all the callback functions. for example, i have an edit box asking the user the enter the name of the file, then check boxes with names to select from. When the user does all this, i want to be able to take the file name they entered and the names of the people the selected using the checkboxes and input that into my main function. How can i do this? So far, i have realized that any variables i make are restricted to that specific function and i can't use them in other functions (variables i made in pushbutton callback can't be used in checkbox callback...). Can anyone help? Bilal
0 Comments
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!