Azzera filtri
Azzera filtri

Increment a number in specific column of continuously increasing data matrix after pressing button in GUI

1 visualizzazione (ultimi 30 giorni)
Hello everyone, I Have initialized a handles.counter=0 and I want to increase it whenever i press the button (event button) in Gui and I gave the command in callback of that button as handles.counter=handles.counter+1; guidata(hObject, handles); The sequence is that first I press the start recording button and in that button callback there is one line for saving number in 17 column like Alldata((b(1)-2400):b(1)-1,17)=handles.counter; so after pressing another button (event button) counter should increase and updata new increased value e.g 2,3 so on everytime i press this event button. the above lines are working fine without any error but the number is not increasing in 17 column after pressing the event button although i gave counter command in callback. thanks in advance.

Risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by