Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

GUIDE help

4 visualizzazioni (ultimi 30 giorni)
Bilal
Bilal il 6 Apr 2011
Chiuso: MATLAB Answer Bot il 20 Ago 2021
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

Risposte (1)

Sean de Wolski
Sean de Wolski il 6 Apr 2011
doc setappdata
doc getappdata
doc guidata

Questa domanda è chiusa.

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by