Undefined variable "handles"
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Daniele Morello
am 8 Sep. 2015
Kommentiert: Daniele Morello
am 8 Sep. 2015
hi everyone this is my code:
function getMeasurement_Callback(hObject, eventdata, handles)
filename = handles.filename;
num_row = get(handles.getMeasurement,'String');
range = set_range(num_row) %it's a function that gives me the specified range in the spreadsheet
row = xlsread(filename, range)
my_rows = set_row(row)
function my_rows = set_rows(row)
set(handles.editPREM, 'String', row(2));
set(handles.editTINJ, 'String', row(3));
set(handles.editPREUTH, 'String', row(4));
set(handles.editCVCP, 'String', row(5));
set(handles.editCVCP2, 'String', row(6));
it gives me this error: Undefined variable "handles" or class "handles.editPREM".
Error in provaGUI>set_rows (line 328) set(handles.editPREM, 'String', row(2)); how can i solve?
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!