function pushbutton2_Callback(hObject, eventdata, handles)
[file,filepath] = uigetfile('*.txt');
if isempty(file); return; end
fullname = fullfile(filepath, file);
[Nodelocation] = textread(fullname);
function pushbutton1_Callback(hObject, eventdata, handles)
[UElocation] = textread('observe/mdUELocationforGUI2.txt');
[AssignCell] = textread('observe/AssignCell.txt');
cla(handles.axes1,'reset');
axes(handles.axes1);
for ii=1:length(Nodelocation(:,1))
for jj=1:length(UElocation(:,1))
if AssignCell(jj,2) == Nodelocation(ii,1)
if Nodelocation(ii,1) == 0
scatter(Nodelocation(ii,2),Nodelocation(ii,3),150,[1 0 0],'^','filled');
hold on;
scatter(UElocation(jj,2),UElocation(jj,3),50,[1 0 0],'x');
hold on;
end
end
end
end