matlab代做,FPGA代做,淘宝,专业代做MATLAB、FPGA博士/硕士/本科毕业设计、项目仿真、Coursework、Assignment
QQ: 1224848052
function varargout = SysGui(varargin)
% SYSGUI M-file for SysGui.fig
% SYSGUI, by itself, creates a new SYSGUI or raises the existing
% singleton*.
%
% H = SYSGUI returns the handle to a new SYSGUI or the handle to
% the existing singleton*.
%
% SYSGUI('CALLBACK',hObject,eventData,handles,...) calls the local
% function named CALLBACK in SYSGUI.M with the given input arguments.
%
% SYSGUI('Property','Value',...) creates a new SYSGUI or raises the
% existing singleton*. Starting from the left, property value pairs are
% applied to the GUI before SysGui_OpeningFunction gets called. An
% unrecognized property name or invalid value makes property application
% stop. All inputs are passed to SysGui_OpeningFcn via varargin.
%
% *See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one
% instance to run (singleton)".
%
% See also: GUIDE, GUIDATA, GUIHANDLES
% Copyright 2002-2003 The MathWorks, Inc.
% Edit the above text to modify the response to help SysGui
% Last Modified by GUIDE v2.5 29-May-2006 11:25:32
% Begin initialization code - DO NOT EDIT
gui_Singleton = 1;
gui_State = struct('gui_Name', mfilename, ...
'gui_Singleton', gui_Singleton, ...
'gui_OpeningFcn', @SysGui_OpeningFcn, ...
'gui_OutputFcn', @SysGui_OutputFcn, ...
'gui_LayoutFcn', [] , ...
'gui_Callback', []);
if nargin && ischar(varargin{1})
gui_State.gui_Callback = str2func(varargin{1});
end
if nargout
[varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});
else
gui_mainfcn(gui_State, varargin{:});
end
% End initialization code - DO NOT EDIT
% --- Executes just before SysGui is made visible.
function SysGui_OpeningFcn(hObject, eventdata, handles, varargin)
% This function has no output args, see OutputFcn.
% hObject handle to figure
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% varargin command line arguments to SysGui (see VARARGIN)
% Choose default command line output for SysGui
handles.output = hObject;
% Update handles structure
guidata(hObject, handles);
% UIWAIT makes SysGui wait for user response (see UIRESUME)
% uiwait(handles.figure1);
% --- Outputs from this function are returned to the command line.
function varargout = SysGui_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)
% Get default command line output from handles structure
varargout{1} = handles.output;
% --------------------------------------------------------------------
function Sselect_Callback(hObject, eventdata, handles)
% hObject handle to Sselect (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function BPNN_Callback(hObject, eventdata, handles)
% hObject handle to BPNN (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
BPNN;
% --------------------------------------------------------------------
function About_Callback(hObject, eventdata, handles)
% hObject handle to About (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
AboutDlg;
% --------------------------------------------------------------------
function Help_Callback(hObject, eventdata, handles)
% hObject handle to Help (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function Exit_Callback(hObject, eventdata, handles)
% hObject handle to Exit (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
close all;
% --------------------------------------------------------------------
function S_SEarth_Callback(hObject, eventdata, handles)
% hObject handle to S_SEarth (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
S_SOIL;
% --------------------------------------------------------------------
function S_App_Callback(hObject, eventdata, handles)
% hObject handle to S_App (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function S_BHeat_Callback(hObject, eventdata, handles)
% hObject handle to S_BHeat (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
BHEAT;
function edit1_Callback(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: get(hObject,'String') returns contents of edit1 as text
% str2double(get(hObject,'String')) returns contents of edit1 as a double
% --- Executes during object creation, after setting all properties.
function edit1_CreateFcn(hObject, eventdata, handles)
% hObject handle to edit1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: edit controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
% --------------------------------------------------------------------
function Untitled_1_Callback(hObject, eventdata, handles)
% hObject handle to Untitled_1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% --------------------------------------------------------------------
function SOM_People_Callback(hObject, eventdata, handles)
% hObject handle to SOM_People (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
S_People;
% --------------------------------------------------------------------
function BP_classifier_Callback(hObject, eventdata, handles)
% hObject handle to BP_classifier (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
BP_Classifer;
% --------------------------------------------------------------------
function RBF_chaiyouji_Callback(hObject, eventdata, handles)
% hObject handle to RBF_chaiyouji (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
RBF_FaultJ;
% --------------------------------------------------------------------
function BP_chilun_Callback(hObject, eventdata, handles)
% hObject handle to BP_chilun (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
BP_Axles;
% --------------------------------------------------------------------
function LNN_Callback(hObject, eventdata, handles)
% hObject handle to LNN (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
LNN;
% --------------------------------------------------------------------
function Elman_Callback(hObject, eventdata, handles)
% hObject handle to Elman (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Elman;
% --------------------------------------------------------------------
function Hopfield_Callback(hObject, eventdata, handles)
% hObject handle to Hopfield (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
Hopfield;
% --------------------------------------------------------------------
function RBF_Callback(hObject, eventdata, handles)
% hObject handle to RBF (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
RBF;
% --- Executes on selection change in popm1.
function popm1_Callback(hObject, eventdata, handles)
% hObject handle to popm1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = get(hObject,'String') returns popm1 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popm1
% --- Executes during object creation, after setting all properties.
function popm1_CreateFcn(hObject, eventdata, handles)
% hObject handle to popm1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
% --- Executes on selection change in popm2.
function popm2_Callback(hObject, eventdata, handles)
% hObject handle to popm2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
% Hints: contents = get(hObject,'String') returns popm2 contents as cell array
% contents{get(hObject,'Value')} returns selected item from popm2
% --- Executes during object creation, after setting all properties.
function popm2_CreateFcn(hObject, eventdata, handles)
% hObject handle to popm2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called
% Hint: popupmenu controls usually have a white background on Windows.
% See ISPC and COMPUTER.
if ispc
set(hObject,'BackgroundColor','white');
else
set(hObject,'BackgroundColor',get(0,'defaultUicontrolBackgroundColor'));
end
% --- Executes on button press in pb1.
function pb1_Callback(hObject, eventdata, handles)
% hObject handle to pb1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
chose=get(findobj('Tag','popm1'),'Value');
switch chose
case 1
BPNN;
case 2
LNN;
case 3
RBF;
case 4
Hopfield;
case 5
Elman;
end
% --- Executes on button press in pb2.
function pb2_Callback(hObject, eventdata, handles)
% hObject handle to pb2 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles structure with handles and user data (see GUIDATA)
chose=get(findobj('Tag','popm2'),'Value');
switch chose
case 1
BP_Axles;
case 2
BP_Classifer;
case 3
BHEAT;
case 4
S_SOIL;
case 5
S_People;
case 6
RBF_FaultJ;
end
% --- Executes during object creation, after setting all properties.
function figure1_CreateFcn(hObject, eventdata, handles)
% hObject handle to figure1 (see GCBO)
% eventdata reserved - to be defined in a future version of MATLAB
% handles empty - handles not created until after all CreateFcns called