Konfirmační dialog
confirm = confirmDialog('Title','Confirm Dialog','String','Remove Selected Trial?');
if isequal(confirm,'Yes'), end
% vykreslit pouze pri korekci dat if correctedData, GUIparameters = getappdata(handles,'GUIParameters'); parameters = getappdata(handles,'appParameters');
[GUIparameters, parameters] = sp('win,on', GUIparameters, parameters, handles);
GUIparameters = plotFigure(data, ['r'],handles);
% upravena data data1 = data; data1.data = yy; data1.hist = [data1.hist 'corr'];
% data1.label = [data1.label ' corr']; userData = get(GUIparameters.figs(GUIparameters.figsPar.actualFig).fid,'UserData'); userData.hist = [userData.hist ' corr']; str = deblank([data1.hist]); indxs = strfind(str,'\'); str(indxs) = '-'; userData.histLast = str; set(GUIparameters.figs(GUIparameters.figsPar.actualFig).fid,'UserData',userData); GUIparameters = plotFigure(data1,[],handles); [GUIparameters, parameters] = sp('win,off', GUIparameters, parameters, handles);
setappdata(handles,'GUIParameters',GUIparameters); data = data1; % puvodni data nahradit upravenymi end