Function: 'Gui - Name' 'Gui - Singleton' 'Gui - Openingfcn' 'Gui - Outputfcn' 'Gui - Layoutfcn' 'Gui - Callback'
Function: 'Gui - Name' 'Gui - Singleton' 'Gui - Openingfcn' 'Gui - Outputfcn' 'Gui - Layoutfcn' 'Gui - Callback'
Function: 'Gui - Name' 'Gui - Singleton' 'Gui - Openingfcn' 'Gui - Outputfcn' 'Gui - Layoutfcn' 'Gui - Callback'
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
axes(handles.axes1)
% axes(handles.figure1)
matlabImage = imread('C:\Users\Maria\Desktop\Proiect IM\imagine.jpg');
image(matlabImage)
% imshow(matlabImage)
axis off
% axis image
% F=axes1;
% F=figure1;
% set(handles.text2,'backgroundcolor',get(F,'color'))
% --- Outputs from this function are returned to the command line.
function varargout = Figura_OutputFcn(hObject, eventdata, handles)
% varargout cell array for returning output args (see VARARGOUT);
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
waitfor(handles.vali,'Value')
if(get(handles.da, 'Value')==1)
set(handles.mesaj, 'String','Pacientul are rubeola')
else
set(handles.mesaj, 'String','Pacientul prezinta infectii parazitare sau
fungice')
end
else
set(handles.intrebare, 'String','Pacientul prezinta inapetenta si vezicule
cu lichid la nivelul abdomenului ?')
waitfor(handles.vali,'Value')
if(get(handles.da, 'Value')==1)
set(handles.mesaj, 'String','Pacientul are varicela')
else
set(handles.mesaj, 'String','pacientul are bronsita
bacteriana')
end
end
else
set(handles.mesaj, 'String','Pacientul prezinta alte simptome')
end
else
set(handles.intrebare, 'String','Pacientul prezinta fotofobie ?')
waitfor(handles.vali,'Value')
if(get(handles.da, 'Value')==1)
set(handles.intrebare, 'String','Pacientul prezinta inflamarea
ganglionilor latero-cervicali ?')
waitfor(handles.vali,'Value')
if(get(handles.da, 'Value')==1)
set(handles.intrebare, 'String','Pacientul prezinta pete rosiatice-
albicioase in interiorul cavitatii bucale ?')
waitfor(handles.vali,'Value')
if(get(handles.da, 'Value')==1)
set(handles.mesaj, 'String','Pacientul are rujeola')
else
set(handles.mesaj, 'String','Pacientul prezinta infectii in sfera
ORL')
end
else
set(handles.mesaj, 'String','Pacientul are uveita intermediara')
end
else
set(handles.mesaj, 'String','Pacientul prezinta alte simptome')
end
end